All Implemented Interfaces:
Externalizable, Serializable, Comparable, Formatable, Storable, TypedFormat, DataValueDescriptor, Orderable, UserDataValue

public class UTF extends UserType
A class that is used to store java.lang.Strings and provide ordering capability.
See Also:
  • Constructor Details

    • UTF

      public UTF()
    • UTF

      public UTF(String value)
  • Method Details

    • compare

      public int compare(DataValueDescriptor other)
      Description copied from class: UserType
      Orderable interface
      Specified by:
      compare in interface DataValueDescriptor
      Overrides:
      compare in class UserType
      Parameters:
      other - The Orderable to compare this one to.
      Returns:
      <0 - this Orderable is less than other. 0 - this Orderable equals other. >0 - this Orderable is greater than other. The code should not explicitly look for -1, or 1.
      See Also: