Modifier and Type | Field and Description |
---|---|
(package private) Order<A> |
ordering |
asc, zero
Constructor and Description |
---|
RatingOrder(Order<A> ordering) |
Modifier and Type | Method and Description |
---|---|
long |
cardinal(Rating<A> key)
returns a cardinal number in the range of 0 ..
|
Order<Rating<A>> |
clone() |
int |
compare(Rating<A> a,
Rating<A> b) |
boolean |
equal(Rating<A> a,
Rating<A> b) |
java.lang.String |
signature()
returns a signature String so that different orderings have different signatures
|
boolean |
wellformed(Rating<A> a)
returns true if and only if a has only characters that belong to the implemented order
|
direction, equals, hashCode, largest, partition, rotate, smallest, zero
public boolean wellformed(Rating<A> a)
Order
wellformed
in interface Order<Rating<A>>
public java.lang.String signature()
Order
public long cardinal(Rating<A> key)
Order