com.tensegrity.generic.attribute
Class AttributeComparators.AscendingAttributeComparator

java.lang.Object
  extended bycom.tensegrity.generic.attribute.AttributeComparators.AscendingAttributeComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
AttributeComparators

public static final class AttributeComparators.AscendingAttributeComparator
extends java.lang.Object
implements java.util.Comparator

This comparator sorts elements by name in an ascending order.


Constructor Summary
AttributeComparators.AscendingAttributeComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
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
 

Constructor Detail

AttributeComparators.AscendingAttributeComparator

public AttributeComparators.AscendingAttributeComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.