cz.cmc.tcgui.datadef
Class AttributeGroup.AttributeSetPriorityComparator

java.lang.Object
  extended bycz.cmc.tcgui.datadef.AttributeGroup.AttributeSetPriorityComparator
All Implemented Interfaces:
Comparator
Enclosing class:
AttributeGroup

public static class AttributeGroup.AttributeSetPriorityComparator
extends Object
implements Comparator

Comparator for comparing priority of AttributeSets


Constructor Summary
AttributeGroup.AttributeSetPriorityComparator()
           
 
Method Summary
 int compare(Object o0, Object o1)
          Compare two objects
 boolean equals(Object obj)
          Comparing the comparator with an another one
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeGroup.AttributeSetPriorityComparator

public AttributeGroup.AttributeSetPriorityComparator()
Method Detail

compare

public int compare(Object o0,
                   Object o1)
Compare two objects

Specified by:
compare in interface Comparator
Parameters:
o0 - 1st object to compare (must be a AttributeSet instance)
o1 - 2nd object to compare (must be a AttributeSet instance)
Returns:
-1, 0 or 1 if o1 is less, equal or greater than o2

equals

public boolean equals(Object obj)
Comparing the comparator with an another one

Specified by:
equals in interface Comparator