Class Comparators


  • public class Comparators
    extends java.lang.Object
    • Method Detail

      • forType

        public static <T> java.util.Comparator<java.util.List<T>> forType​(Types.ListType list)
      • forType

        public static <T> java.util.Comparator<T> forType​(Type.PrimitiveType type)
      • unsignedBytes

        public static java.util.Comparator<java.nio.ByteBuffer> unsignedBytes()
      • unsignedByteArrays

        public static java.util.Comparator<byte[]> unsignedByteArrays()
      • signedBytes

        public static java.util.Comparator<java.nio.ByteBuffer> signedBytes()
      • nullsFirst

        public static <T> java.util.Comparator<T> nullsFirst()
      • nullsLast

        public static <T> java.util.Comparator<T> nullsLast()
      • charSequences

        public static java.util.Comparator<java.lang.CharSequence> charSequences()