org.jminor.framework.domain
Interface Entity.Comparator

Enclosing interface:
Entity

public static interface Entity.Comparator

Provides comparisons for entities.


Method Summary
 int compare(Entity entity, Entity entityToCompare)
          Compares the given entities.
 

Method Detail

compare

int compare(Entity entity,
            Entity entityToCompare)
Compares the given entities.

Parameters:
entity - the first entity
entityToCompare - the second entity
Returns:
the compare result