public class Comparators
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Comparator<java.lang.CharSequence> |
charSequences() |
static <T> java.util.Comparator<T> |
forType(Type.PrimitiveType type) |
static <T> java.util.Comparator<java.util.List<T>> |
forType(Types.ListType list) |
static java.util.Comparator<StructLike> |
forType(Types.StructType struct) |
static <T> java.util.Comparator<T> |
nullsFirst() |
static <T> java.util.Comparator<T> |
nullsLast() |
static java.util.Comparator<java.nio.ByteBuffer> |
signedBytes() |
static java.util.Comparator<byte[]> |
unsignedByteArrays() |
static java.util.Comparator<java.nio.ByteBuffer> |
unsignedBytes() |
public static java.util.Comparator<StructLike> forType(Types.StructType struct)
public static <T> java.util.Comparator<java.util.List<T>> forType(Types.ListType list)
public static <T> java.util.Comparator<T> forType(Type.PrimitiveType type)
public static java.util.Comparator<java.nio.ByteBuffer> unsignedBytes()
public static java.util.Comparator<byte[]> unsignedByteArrays()
public static java.util.Comparator<java.nio.ByteBuffer> signedBytes()
public static <T> java.util.Comparator<T> nullsFirst()
public static <T> java.util.Comparator<T> nullsLast()
public static java.util.Comparator<java.lang.CharSequence> charSequences()