|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.unisaarland.cs.st.jerify.verifier.helpers.Pair<A,B>
A - The type of the first value.B - The type of the second value.public class Pair<A,B>
A simple Pair which holds to independent values which both can be accessed.
| Constructor Summary | |
|---|---|
Pair(A a,
B b)
Creates a new Pair wich is initialized with the first element a and the second element b |
|
| Method Summary | |
|---|---|
A |
getFirst()
Get the first element of the pair. |
B |
getSecond()
Get the second element of the pair |
Pair<A,B> |
setFirst(A a)
Set the value of the first element |
Pair<A,B> |
setSecond(B b)
Set the value of the second element |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pair(A a,
B b)
a - b - | Method Detail |
|---|
public final A getFirst()
public final B getSecond()
public final Pair<A,B> setFirst(A a)
a - the value
public final Pair<A,B> setSecond(B b)
b - the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||