public class PositionOrdering
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<T> java.util.Comparator<T> |
comparatorFor(java.lang.Class<T> dimension) |
java.util.List<java.lang.Class<?>> |
dimensions() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
static <T extends java.lang.Comparable<T>> |
of(java.lang.Class<T> dimension) |
static <T> PositionOrdering |
of(java.lang.Class<T> dimension,
java.util.Comparator<T> dimensionComparator) |
java.util.Comparator<Position> |
positionComparator() |
<T extends java.lang.Comparable<T>> |
then(java.lang.Class<T> dimension) |
<T> PositionOrdering |
then(java.lang.Class<T> dimension,
java.util.Comparator<T> dimensionComparator) |
java.lang.String |
toString() |
public static final <T> PositionOrdering of(java.lang.Class<T> dimension, java.util.Comparator<T> dimensionComparator)
public static final <T extends java.lang.Comparable<T>> PositionOrdering of(java.lang.Class<T> dimension)
public final <T> PositionOrdering then(java.lang.Class<T> dimension, java.util.Comparator<T> dimensionComparator)
public final <T extends java.lang.Comparable<T>> PositionOrdering then(java.lang.Class<T> dimension)
public java.util.List<java.lang.Class<?>> dimensions()
public java.util.Comparator<Position> positionComparator()
public <T> java.util.Comparator<T> comparatorFor(java.lang.Class<T> dimension)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object