|
||||||||||
| 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.Triple<A,B,C>
A - The type of the first value.B - The type of the second value.C - The type of the third value.public class Triple<A,B,C>
A simple Triple which holds to independent values which all can be accessed.
| Constructor Summary | |
|---|---|
Triple(A a,
B b,
C c)
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 |
C |
getThird()
Get the second element of the pair |
Triple<A,B,C> |
setFirst(A a)
Set the value of the first element |
Triple<A,B,C> |
setSecond(B b)
Set the value of the second element |
Triple<A,B,C> |
setThird(C c)
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 Triple(A a,
B b,
C c)
a - b - | Method Detail |
|---|
public final A getFirst()
public final B getSecond()
public final C getThird()
public final Triple<A,B,C> setFirst(A a)
a - the value
public final Triple<A,B,C> setSecond(B b)
b - the value
public final Triple<A,B,C> setThird(C c)
b - the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||