|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sdedit.util.Bijection<P,I>
P - the type of the pre-imagesI - the type of the imagespublic class Bijection<P,I>
| Constructor Summary | |
|---|---|
Bijection()
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(P preImage,
I image)
Adds a pair of a pre-image and an image to the bijection. |
I |
getImage(P preImage)
Returns the image of the given pre-image |
P |
getPreImage(I image)
Returns the pre-image of the given image |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Bijection()
| Method Detail |
|---|
public void add(P preImage,
I image)
preImage - the pre-imageimage - the imagepublic I getImage(P preImage)
preImage -
public P getPreImage(I image)
image -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||