Uses of Class
inonit.domain.game.card.Sort.Action

Packages that use Sort.Action
inonit.domain.game.card A set of classes representing constructs commonly used in card games. 
 

Uses of Sort.Action in inonit.domain.game.card
 

Fields in inonit.domain.game.card declared as Sort.Action
static Sort.Action Sort.Action.LEAVE
          An Action indicating that the two objects are already in the correct order.
static Sort.Action Sort.Action.EQUAL
          An Action indicating that the two objects are equal in this ordering and can be placed in arbitrary order.
static Sort.Action Sort.Action.SWAP
          An Action indicating that the two objects are in the wrong order and should be swapped.
 

Methods in inonit.domain.game.card that return Sort.Action
 Sort.Action Sort.Order.compare(java.lang.Object first, java.lang.Object second)
          Returns a Sort.Action corresponding to this Order given the two objects.
 Sort.Action Card.Order.compare(java.lang.Object first, java.lang.Object second)
          Implements the Sort.Order.compare method by invoking this object's Card.Order.compare(Card,Card) method.
protected abstract  Sort.Action Card.Order.compare(Card one, Card two)
          Should return the correct Sort.Action to take when comparing Cards.