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
- Direct Known Subclasses:
CertificateComparator
A comparator for byte[]s.
- Author:
- Apache Directory Project
- See Also:
-
Field Summary
Fields inherited from class LdapComparator
normalizerFields inherited from class AbstractSchemaObject
description, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class LdapComparator
equals, getNormalizer, hashCode, setSchemaManager, toStringMethods inherited from class LoadableSchemaObject
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcnMethods inherited from class AbstractSchemaObject
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, rehash, rehashBase, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlockMethods inherited from interface Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ByteArrayComparator
The ByteArrayComparator constructor. Its OID is the OctetStringMatch matching rule OID.- Parameters:
oid- The Comparator's OID
-
-
Method Details
-
compare
public int compare(byte[] b1, byte[] b2)
-