public static lalr_state find_state(lalr_item_set itms){
  if (itms == null)   return null;
 else   return (lalr_state)_all.get(itms);
}

public static lalr_state find_state ( lalr_item_set itms ) { if ( itms == null ) return null ; else return ( lalr_state ) _all . get ( itms ) ; }
find and return state with a given a kernel item set ( or null if not found ) . the kernel item set is the subset of items that were used to originally create the state . these items are formed by " shifting the dot " within items of other states that have a transition to this one . the remaining elements of this state ' s item set are added during closure .
