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 TypeMethodDescriptionint
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
DefaultElementNamespaceAttributeComparator
public DefaultElementNamespaceAttributeComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<ElementNamespaceAttribute>
- Parameters:
e1
- The first ElementNamespaceAttribute to compare.e2
- The second ElementNamespaceAttribute to compare.- Returns:
- 0 is same.
- See Also:
-