code: @SuppressWarnings("unchecked")
      public String tokenAsString(Comparable tokenAsComparable) {
          ByteBuffer bb = tokenType.decompose(tokenAsComparable);
          Token token = tokenFactory.fromByteArray(bb);
          return tokenFactory.toString(token);
      }
docs: Returns the specified token as a {@link java.lang.String}.
  
  @param tokenAsComparable a token represented as a {@link java.lang.Comparable}.
  @return the specified token as a {@link java.lang.String}.