org.itracker.model
Class AbstractEntity.IdComparator

java.lang.Object
  extended by org.itracker.model.AbstractEntity.IdComparator
All Implemented Interfaces:
Serializable, Comparator<Entity>
Enclosing class:
AbstractEntity

protected static class AbstractEntity.IdComparator
extends Object
implements Comparator<Entity>, Serializable

Compares 2 instances by ID.

See Also:
Serialized Form

Constructor Summary
protected AbstractEntity.IdComparator()
           
 
Method Summary
 int compare(Entity a, Entity b)
           
 
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

AbstractEntity.IdComparator

protected AbstractEntity.IdComparator()
Method Detail

compare

public int compare(Entity a,
                   Entity b)
Specified by:
compare in interface Comparator<Entity>


Copyright © 2002-2012 itracker. All Rights Reserved.