public static class AttributeIndex.KeyComparator extends Object implements Comparator<byte[]>
ByteSequence.BYTE_ARRAY_COMPARATOR.
This intermediate class is necessary to satisfy JE's requirements for a btree comparator.
DatabaseConfig.setBtreeComparator(Comparator)| Modifier and Type | Field and Description |
|---|---|
static AttributeIndex.KeyComparator |
INSTANCE
The instance.
|
| Constructor and Description |
|---|
AttributeIndex.KeyComparator() |
public static final AttributeIndex.KeyComparator INSTANCE
public AttributeIndex.KeyComparator()
public int compare(byte[] a, byte[] b)
compare in interface Comparator<byte[]>Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.