Package org.iq80.leveldb.impl
Class InternalKeyComparator
java.lang.Object
org.iq80.leveldb.impl.InternalKeyComparator
- All Implemented Interfaces:
Comparator<InternalKey>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(InternalKey left, InternalKey right) booleanisOrdered(Iterable<InternalKey> keys) Returnstrueif each element initerableafter the first is greater than or equal to the element that preceded it, according to this ordering.booleanisOrdered(InternalKey... keys) Returnstrueif each element initerableafter the first is greater than or equal to the element that preceded it, according to this ordering.name()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
userComparator
-
-
Constructor Details
-
InternalKeyComparator
-
-
Method Details
-
getUserComparator
-
name
-
compare
- Specified by:
comparein interfaceComparator<InternalKey>
-
isOrdered
Returnstrueif each element initerableafter the first is greater than or equal to the element that preceded it, according to this ordering. Note that this is always true when the iterable has fewer than two elements. -
isOrdered
Returnstrueif each element initerableafter the first is greater than or equal to the element that preceded it, according to this ordering. Note that this is always true when the iterable has fewer than two elements.
-