static enum Bytes.LexicographicalComparerHolder.PureJavaComparer extends Enum<Bytes.LexicographicalComparerHolder.PureJavaComparer> implements Bytes.Comparer<byte[]>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(byte[] buffer1,
int offset1,
int length1,
byte[] buffer2,
int offset2,
int length2) |
static Bytes.LexicographicalComparerHolder.PureJavaComparer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bytes.LexicographicalComparerHolder.PureJavaComparer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bytes.LexicographicalComparerHolder.PureJavaComparer INSTANCE
public static Bytes.LexicographicalComparerHolder.PureJavaComparer[] values()
for (Bytes.LexicographicalComparerHolder.PureJavaComparer c : Bytes.LexicographicalComparerHolder.PureJavaComparer.values()) System.out.println(c);
public static Bytes.LexicographicalComparerHolder.PureJavaComparer valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int compareTo(byte[] buffer1, int offset1, int length1, byte[] buffer2, int offset2, int length2)
compareTo
in interface Bytes.Comparer<byte[]>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.