|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zedlib.Maplet
If X and Y are sets, then X ↔ Y is the set of binary relations between X and Y. Each such relation is a subset of X x Y . The 'maplet' notation from x to y is another way of expressing the ordered pair (x, y).
| Field Summary | |
protected Object |
x
|
protected Object |
y
|
| Constructor Summary | |
protected |
Maplet()
|
|
Maplet(Object x,
Object y)
|
| Method Summary | |
boolean |
equals(Object o)
|
Object |
first()
Returns x in (x,y). |
int |
hashCode()
|
Object |
second()
Returns y in (x,y). |
Object |
x()
Returns x in (x,y). |
Object |
y()
Returns y in (x,y). |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Object x
protected Object y
| Constructor Detail |
protected Maplet()
public Maplet(Object x,
Object y)
| Method Detail |
public Object first()
public Object second()
public Object x()
public Object y()
public boolean equals(Object o)
public int hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||