public int compareTo(CharSeq another){
  return str.compareTo(another.str);
}

public int compareTo ( CharSeq another ) { return str . compareTo ( another . str ) ; }
compares two charseqs lexicographically .
