@Test public void testUnsafeComparatorExists() { Comparator<ByteBuffer> comparator = UnsignedByteBuffer.lexicographicalComparator(); assertTrue(comparator instanceof UnsignedByteBuffer.LexicographicalComparatorHolder.UnsafeComparator); }
public static Comparator<ByteBuffer> lexicographicalComparator() { return LexicographicalComparatorHolder.BEST_COMPARATOR; }
UnsignedByteBuffer { public static Comparator<ByteBuffer> lexicographicalComparator() { return LexicographicalComparatorHolder.BEST_COMPARATOR; } }
UnsignedByteBuffer { public static Comparator<ByteBuffer> lexicographicalComparator() { return LexicographicalComparatorHolder.BEST_COMPARATOR; } private  UnsignedByteBuffer(); }
UnsignedByteBuffer { public static Comparator<ByteBuffer> lexicographicalComparator() { return LexicographicalComparatorHolder.BEST_COMPARATOR; } private  UnsignedByteBuffer(); static int compare(ByteBuffer a, ByteBuffer b); static Comparator<ByteBuffer> lexicographicalComparator(); }
UnsignedByteBuffer { public static Comparator<ByteBuffer> lexicographicalComparator() { return LexicographicalComparatorHolder.BEST_COMPARATOR; } private  UnsignedByteBuffer(); static int compare(ByteBuffer a, ByteBuffer b); static Comparator<ByteBuffer> lexicographicalComparator();  }