org.jrdf.query.relation.type
Class TypeComparatorImpl
java.lang.Object
org.jrdf.query.relation.type.TypeComparatorImpl
- All Implemented Interfaces:
- Serializable, Comparator<NodeType>, TypeComparator
public final class TypeComparatorImpl
- extends Object
- implements TypeComparator
Compares only the type of attributes.
- Version:
- $Revision:$
- Author:
- Andrew Newman
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeComparatorImpl
public TypeComparatorImpl(NodeTypeComparator nodeTypeComparator)
compare
public int compare(NodeType type1,
NodeType type2)
- Specified by:
compare in interface Comparator<NodeType>