| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
T | 
getItem1()
Returns this pair's first item. 
 | 
T | 
getItem2()
Returns this item's second item. 
 | 
int | 
hashCode()  | 
static <S> Pair<S[]> | 
splitArray(S[] in)
Splits an array into two consituent parts. 
 | 
static <S> Pair<Collection<S>> | 
splitCollection(Collection<S> in)
Splits a collection into two constituent parts. 
 | 
String | 
toString()  | 
public T getItem1()
public T getItem2()
public static <S> Pair<Collection<S>> splitCollection(Collection<S> in)
in - input collection; unaffected on exitpublic static <S> Pair<S[]> splitArray(S[] in)
in - input array; unaffected on exitCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.