public void store(DataOutput os) throws IOException {
  os.writeBoolean(forward);
  os.writeInt(root);
  os.writeInt(cmds.size());
  for (  CharSequence cmd : cmds)   os.writeUTF(cmd.toString());
  os.writeInt(rows.size());
  for (  Row row : rows)   row.store(os);
}

public void store ( DataOutput os ) throws IOException { os . writeBoolean ( forward ) ; os . writeInt ( root ) ; os . writeInt ( cmds . size ( ) ) ; for ( CharSequence cmd : cmds ) os . writeUTF ( cmd . toString ( ) ) ; os . writeInt ( rows . size ( ) ) ; for ( Row row : rows ) row . store ( os ) ; }
write this trie to the given output stream .
