- All Implemented Interfaces:
- Serializable, Comparator<NodeInstance>
- Enclosing class:
- NodeInstance
public static class NodeInstance.Preferred
extends Object
implements Comparator<NodeInstance>, Serializable
A comparator for sorting entries where the node is preferred over another.
The exact algorithm may change: current policy is "most recent first", so sorted
on the lastUsed
the comparision is a positive int if left is preferred to right;
negative if right over left, 0 for equal
- See Also:
- Serialized Form