| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuniverse.List.GComp<X,Y>
public abstract static class List.GComp<X,Y>
(General) Compare two List Elements of possibly different types (true is "LessThan" for sort(), but "Equal" for same(...))
| Constructor Summary | |
|---|---|
| List.GComp() | |
| Method Summary | |
|---|---|
| abstract  boolean | comp(X x,
     Y y)Compare these two Xs, returning true/false | 
|  List.Pred<X> | curry(Y y)Return a Predicate that uses the comparator (later) using the given X as its first argument | 
|  List.GComp<Y,X> | flip()Return a general comparator with flipped comparision (and types) | 
|  List.Pred<Y> | revCurry(X x)Return a (reversed) Predicate that uses the comparator (later) using the given Y as its second argument | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public List.GComp()
| Method Detail | 
|---|
public abstract boolean comp(X x,
                             Y y)
public List.GComp<Y,X> flip()
public List.Pred<X> curry(Y y)
public List.Pred<Y> revCurry(X x)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||