Generics Based TrieNode Representation