org.apache.directory.api.ldap.model.schema.comparators
Class ByteArrayComparator
java.lang.Object
org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
org.apache.directory.api.ldap.model.schema.LdapComparator<byte[]>
org.apache.directory.api.ldap.model.schema.comparators.ByteArrayComparator
- All Implemented Interfaces:
- Serializable, Comparator<byte[]>, SchemaObject
public class ByteArrayComparator
- extends LdapComparator<byte[]>
A comparator for byte[]s.
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
| Fields inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification |
|
Method Summary |
int |
compare(byte[] b1,
byte[] b2)
|
| Methods inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlock |
ByteArrayComparator
public ByteArrayComparator(String oid)
- The ByteArrayComparator constructor. Its OID is the OctetStringMatch matching
rule OID.
compare
public int compare(byte[] b1,
byte[] b2)
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.