inonit.domain.game.card
Class Sort.Action

java.lang.Object
  |
  +--inonit.domain.game.card.Sort.Action
Enclosing class:
Sort

public static class Sort.Action
extends java.lang.Object

An action to be taken as the result of comparing two objects during a sort.


Field Summary
static 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 LEAVE
          An Action indicating that the two objects are already in the correct order.
static Sort.Action SWAP
          An Action indicating that the two objects are in the wrong order and should be swapped.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEAVE

public static final Sort.Action LEAVE
An Action indicating that the two objects are already in the correct order.

EQUAL

public static final Sort.Action EQUAL
An Action indicating that the two objects are equal in this ordering and can be placed in arbitrary order.

SWAP

public static final Sort.Action SWAP
An Action indicating that the two objects are in the wrong order and should be swapped.