org.apache.directory.api.ldap.model.schema.comparators
Class IntegerComparator
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<Object>
org.apache.directory.api.ldap.model.schema.comparators.IntegerComparator
- All Implemented Interfaces:
- Serializable, Comparator<Object>, SchemaObject
public class IntegerComparator
- extends LdapComparator<Object>
- implements Serializable
A class for the integerOrderingMatch matchingRule (RFC 4517, par. 4.2.20)
- 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 |
| 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 |
IntegerComparator
public IntegerComparator(String oid)
- The IntegerComparator constructor. Its OID is the IntegerOrderingMatch matching
rule OID.
compare
public int compare(Object v1,
Object v2)
- Implementation of the Compare method
- Specified by:
compare in interface Comparator<Object>
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.