Package org.apache.hadoop.hbase.util
Class TestBoundedPriorityBlockingQueue.TestObjectComparator
java.lang.Object
org.apache.hadoop.hbase.util.TestBoundedPriorityBlockingQueue.TestObjectComparator
- All Implemented Interfaces:
Comparator<TestBoundedPriorityBlockingQueue.TestObject>
- Enclosing class:
- TestBoundedPriorityBlockingQueue
static class TestBoundedPriorityBlockingQueue.TestObjectComparator
extends Object
implements Comparator<TestBoundedPriorityBlockingQueue.TestObject>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(TestBoundedPriorityBlockingQueue.TestObject a, TestBoundedPriorityBlockingQueue.TestObject b) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
TestObjectComparator
public TestObjectComparator()
-
-
Method Details
-
compare
public int compare(TestBoundedPriorityBlockingQueue.TestObject a, TestBoundedPriorityBlockingQueue.TestObject b) - Specified by:
compare
in interfaceComparator<TestBoundedPriorityBlockingQueue.TestObject>
-