@Test public void testJavaComparatorExists() { Comparator<ByteBuffer> comparator = UnsignedByteBuffer.lexicographicalComparatorJavaImpl(); assertTrue(comparator instanceof UnsignedByteBuffer.LexicographicalComparatorHolder.PureJavaComparator); }
@VisibleForTesting static Comparator<ByteBuffer> lexicographicalComparatorJavaImpl() { return LexicographicalComparatorHolder.PureJavaComparator.INSTANCE; }
UnsignedByteBuffer { @VisibleForTesting static Comparator<ByteBuffer> lexicographicalComparatorJavaImpl() { return LexicographicalComparatorHolder.PureJavaComparator.INSTANCE; } }
UnsignedByteBuffer { @VisibleForTesting static Comparator<ByteBuffer> lexicographicalComparatorJavaImpl() { return LexicographicalComparatorHolder.PureJavaComparator.INSTANCE; } private  UnsignedByteBuffer(); }
UnsignedByteBuffer { @VisibleForTesting static Comparator<ByteBuffer> lexicographicalComparatorJavaImpl() { return LexicographicalComparatorHolder.PureJavaComparator.INSTANCE; } private  UnsignedByteBuffer(); static int compare(ByteBuffer a, ByteBuffer b); static Comparator<ByteBuffer> lexicographicalComparator(); }
UnsignedByteBuffer { @VisibleForTesting static Comparator<ByteBuffer> lexicographicalComparatorJavaImpl() { return LexicographicalComparatorHolder.PureJavaComparator.INSTANCE; } private  UnsignedByteBuffer(); static int compare(ByteBuffer a, ByteBuffer b); static Comparator<ByteBuffer> lexicographicalComparator();  }