Spring Data Graph

org.springframework.data.graph.neo4j.support
Class Tuple2<T1,T2>

java.lang.Object
  extended by 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

Field Summary
 T1 _1
           
 T2 _2
           
 
Method Summary
static
<T1,T2> Tuple2<T1,T2>
_(T1 _1, T2 _2)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_1

public final T1 _1

_2

public final T2 _2
Method Detail

_

public static <T1,T2> Tuple2<T1,T2> _(T1 _1,
                                      T2 _2)

toString

public String toString()
Overrides:
toString in class Object

Spring Data Graph

Copyright © 2011. All Rights Reserved.