org.jopendocument.util
Class Tuple3<A,B,C>
java.lang.Object
org.jopendocument.util.Tuple2<A,B>
org.jopendocument.util.Tuple3<A,B,C>
- Type Parameters:
A - type of first value.B - type of second value.C - type of third value.
- Direct Known Subclasses:
- Tuple3.List3
public class Tuple3<A,B,C>
- extends Tuple2<A,B>
A simple class to hold 3 values in a type-safe manner.
- Author:
- Sylvain
|
Method Summary |
java.util.List<? extends java.lang.Object> |
asList()
|
static
|
create(A a,
B b,
C c)
|
C |
get2()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Tuple3
public Tuple3(A a,
B b,
C c)
create
public static final <A,B,C> Tuple3<A,B,C> create(A a,
B b,
C c)
get2
public final C get2()
asList
public java.util.List<? extends java.lang.Object> asList()
- Overrides:
asList in class Tuple2<A,B>