public final class LexicographicalComparator extends Object implements Comparator<ByteBuffer>
Constructor and Description |
---|
LexicographicalComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(ByteBuffer left,
ByteBuffer right) |
static int |
compareBuffers(ByteBuffer left,
ByteBuffer right) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static int compareBuffers(ByteBuffer left, ByteBuffer right)
public int compare(ByteBuffer left, ByteBuffer right)
compare
in interface Comparator<ByteBuffer>
Copyright © 2015 Google. All rights reserved.