Original Post
hi, i have managed to create a sorted suffix array in java. i now want to create a suffix tree from this suffix array. has anyone had any experience at doing this, i cannot seem to find the best way to represent a node and an edge. is there a java class that allows you to create nodes and edges which would be suitable for this problem. thanks Danny ps as example, i first need to add an edge to '$', i then need to create a new edge for 'a', with an edge to '$', 'bra' and cadabra etc etc from a list that looks like this $ a$ abra$ acadabra$ thanks