@Deprecated public class Triple<T1,T2,T3> extends AbstractPrintable
Modifier and Type | Field and Description |
---|---|
protected T1 |
first
Deprecated.
|
protected T2 |
second
Deprecated.
|
protected T3 |
third
Deprecated.
|
Constructor and Description |
---|
Triple()
Deprecated.
|
Triple(T1 first,
T2 second,
T3 third)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Pair<T1,Pair<T2,T3>> |
asPair1()
Deprecated.
|
Pair<Pair<T1,T2>,T3> |
asPair2()
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
static <T1,T2,T3> Triple<T1,T2,T3> |
fromPair1(Pair<T1,Pair<T2,T3>> pair)
Deprecated.
|
static <T1,T2,T3> Triple<T1,T2,T3> |
fromPair2(Pair<Pair<T1,T2>,T3> pair)
Deprecated.
|
T1 |
getFirst()
Deprecated.
|
T2 |
getSecond()
Deprecated.
|
T3 |
getThird()
Deprecated.
|
int |
hashCode()
Deprecated.
|
static <T1,T2,T3> Triple<T1,T2,T3> |
make(T1 first,
T2 second,
T3 third)
Deprecated.
|
void |
print(Appendable a)
Deprecated.
Outputs the current object.
|
void |
setFirst(T1 first)
Deprecated.
|
void |
setSecond(T2 second)
Deprecated.
|
void |
setThird(T3 third)
Deprecated.
|
toString, toString
protected T1 first
protected T2 second
protected T3 third
public T1 getFirst()
public void setFirst(T1 first)
public T2 getSecond()
public void setSecond(T2 second)
public T3 getThird()
public void setThird(T3 third)
public void print(Appendable a) throws IOException
Printable
a
- the appendable.IOException
- if an error occurs during appending.public static <T1,T2,T3> Triple<T1,T2,T3> make(T1 first, T2 second, T3 third)
public static <T1,T2,T3> Triple<T1,T2,T3> fromPair1(Pair<T1,Pair<T2,T3>> pair)
Copyright © 2015. All rights reserved.