org.neo4j.helpers
Class Triplet<T1,T2,T3>
java.lang.Object
org.neo4j.helpers.Pair<T1,Pair<T2,T3>>
org.neo4j.helpers.Triplet<T1,T2,T3>
public class Triplet<T1,T2,T3>
- extends Pair<T1,Pair<T2,T3>>
Methods inherited from class org.neo4j.helpers.Pair |
of |
of
public static <T1,T2,T3> Triplet<T1,T2,T3> of(T1 first,
T2 other,
T3 third)
first
public T1 first()
- Specified by:
first
in class Pair<T1,Pair<T2,T3>>
- Returns:
- the first object in the pair.
second
public T2 second()
- Returns:
- the second object in the triplet.
third
public T3 third()
- Returns:
- the third object in the triplet.
other
public Pair<T2,T3> other()
- Specified by:
other
in class Pair<T1,Pair<T2,T3>>
- Returns:
- the other object in the pair.
toString
public String toString()
- Overrides:
toString
in class Pair<T1,Pair<T2,T3>>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Pair<T1,Pair<T2,T3>>
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Pair<T1,Pair<T2,T3>>
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.