F - The type of the first object.S - The type of the second object.T - The type of the third object.@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class ObjectTrio<F,S,T> extends java.lang.Object implements java.io.Serializable
| Constructor and Description |
|---|
ObjectTrio(F first,
S second,
T third)
Creates a new object trio with the provided elements.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Indicates whether the provided object is equal to this object trio.
|
F |
getFirst()
Retrieves the first object in this trio.
|
S |
getSecond()
Retrieves the second object in this trio.
|
T |
getThird()
Retrieves the third object in this trio.
|
int |
hashCode()
Retrieves a hash code for this object trio.
|
java.lang.String |
toString()
Retrieves a string representation of this object trio.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this object trio to the provided buffer.
|
@Nullable public F getFirst()
@Nullable public S getSecond()
@Nullable public T getThird()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(@Nullable java.lang.Object o)
equals in class java.lang.Objecto - The object for which to make the determination.true if the provided object is equal to this object trio,
or false if not.@NotNull public java.lang.String toString()
toString in class java.lang.Object