org.springframework.data.graph.neo4j.support
Class Tuple2<T1,T2>
java.lang.Object
org.springframework.data.graph.neo4j.support.Tuple2<T1,T2>
public final class Tuple2<T1,T2>
- extends Object
A simple class for holding a tuple of two typed elements. Useful for instance for map construction.
Instantiated via the static factory method Tuple2._(v1,v2)
- Since:
- 11.09.2010
- Author:
- Michael Hunger
_1
public final T1 _1
_2
public final T2 _2
_
public static <T1,T2> Tuple2<T1,T2> _(T1 _1,
T2 _2)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011. All Rights Reserved.