@AlfrescoPublicApi public final class Pair<F,S> extends Object implements Serializable
Constructor and Description |
---|
Pair(F first,
S second)
Make a new one.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
F |
getFirst()
Get the first member of the tuple.
|
S |
getSecond()
Get the second member of the tuple.
|
int |
hashCode() |
static <X,Y> Pair<X,Y> |
nullPair() |
void |
setFirst(F first) |
void |
setSecond(S second) |
String |
toString() |
public static final Pair NULL_PAIR
public static final <X,Y> Pair<X,Y> nullPair()
public final F getFirst()
public final S getSecond()
public final void setFirst(F first)
public final void setSecond(S second)
Copyright © 2005–2015 Alfresco Software. All rights reserved.