public static List < SurtNode > nodesFromSurt ( String surt ) { List < SurtNode > list = new ArrayList < SurtNode > ( ) ; String running = "" ; for ( String token : new NewSurtTokenizer ( surt ) ) { running += token ; list . add ( new SurtNode ( token , running ) ) ; } return list ; }
Return a list of the elements in a given SURT .