T1 - the type of the first value of the triplet.T2 - the type of the second value of the triplet.T3 - the type of the third value of the triplet.public class Triplet<T1,T2,T3> extends Pair<T1,Pair<T2,T3>>
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
T1 |
first() |
int |
hashCode() |
static <T1,T2,T3> Triplet<T1,T2,T3> |
of(T1 first,
T2 second,
T3 third)
Create a new triplet of objects.
|
Pair<T2,T3> |
other() |
T2 |
second() |
T3 |
third() |
String |
toString() |
public static <T1,T2,T3> Triplet<T1,T2,T3> of(T1 first, T2 second, T3 third)
T1 - the type of the first valueT2 - the type of the second valueT3 - the type of the third valuefirst - the first value of the triplet.second - the second value of the triplet.third - the third value of the triplet.public T1 first()
public T2 second()
public T3 third()
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.