public enum CassandraColumnAnnotationComparator extends Enum<CassandraColumnAnnotationComparator> implements Comparator<Column>
Comparator implementation that uses Column.value().| Enum Constant and Description |
|---|
INSTANCE
Comparator instance.
|
IT
Deprecated.
as of 1.5, use
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Column left,
Column right) |
static CassandraColumnAnnotationComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CassandraColumnAnnotationComparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final CassandraColumnAnnotationComparator INSTANCE
@Deprecated public static final CassandraColumnAnnotationComparator IT
INSTANCEpublic static CassandraColumnAnnotationComparator[] values()
for (CassandraColumnAnnotationComparator c : CassandraColumnAnnotationComparator.values()) System.out.println(c);
public static CassandraColumnAnnotationComparator 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 compare(Column left, Column right)
compare in interface Comparator<Column>Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.