public final class Triple
extends java.lang.Object
| Constructor and Description |
|---|
Triple(java.lang.Object first,
java.lang.Object second,
java.lang.Object third)
Make a new one.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
Override of equals.
|
java.lang.Object |
getFirst()
Get the first member of the tuple.
|
java.lang.Object |
getSecond()
Get the second member of the tuple.
|
java.lang.Object |
getThird()
Get the third member of the tuple.
|
int |
hashCode()
Override of hashCode.
|
java.lang.String |
toString() |
public Triple(java.lang.Object first,
java.lang.Object second,
java.lang.Object third)
first - The first member.second - The second member.third - The third member.public java.lang.Object getFirst()
public java.lang.Object getSecond()
public java.lang.Object getThird()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - The thing to compare to.public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.