public TrieNode(TrieNode predecessor,Map<Symbol,Integer> label2idMap,List<Symbol> labels){
  this.backPointer=predecessor;
}

public TrieNode ( TrieNode predecessor , Map < Symbol , Integer > label2idMap , List < Symbol > labels ) { this . backPointer = predecessor ; }
this constructs a trienode and specifies its predecessor .
