T1
- the type of the first value
of the pair.T2
- the type of the other value
of the pair.public abstract class Pair<T1,T2> extends Object
public static <T1,T2> Pair<T1,T2> empty()
public static <T1,T2> Pair<T1,T2> of(T1 first, T2 other)
first
- the first object in the pair.other
- the other object in the pair.public abstract T1 first()
public abstract T2 other()
Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.