Class DefaultElementNamespaceAttributeComparator
java.lang.Object
org.x4o.xml.element.DefaultElementNamespaceAttributeComparator
- All Implemented Interfaces:
Comparator<ElementNamespaceAttribute>
public class DefaultElementNamespaceAttributeComparator
extends Object
implements Comparator<ElementNamespaceAttribute>
The DefaultElementNamespaceAttributeComparator.
This Comparator compares the NextAttribute names with the attributeName of the ElementNamespaceAttribute.
This Comparator compares the NextAttribute names with the attributeName of the ElementNamespaceAttribute.
- Version:
- 1.0 Feb 14, 2007
- Author:
- Willem Cazander
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
DefaultElementNamespaceAttributeComparator
public DefaultElementNamespaceAttributeComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<ElementNamespaceAttribute>- Parameters:
e1- The first ElementNamespaceAttribute to compare.e2- The second ElementNamespaceAttribute to compare.- Returns:
- 0 is same.
- See Also:
-