Generics declaration allows compiler to check your 'alphabet1' usages during compile-time.
Map/HashMap on left side declares how your 'alphabet1' variable should be considered: either as Map (interface) or HashMap (instance of concrete class). Of course interface is preferred - it makes your code more robust to further changes.