T1 - The type of the tuple's first component.T2 - The type of the tuple's second component.T3 - The type of the tuple's third component.T4 - The type of the tuple's fourth component.public class Tuple4<T1,T2,T3,T4> extends java.lang.Object implements IEquatable<Tuple4<T1,T2,T3,T4>>
| Modifier and Type | Field and Description |
|---|---|
T1 |
item1
The value of the current Tuple4<T1, T2, T3, T4> object's first component.
|
T2 |
item2
The value of the current Tuple4<T1, T2, T3, T4> object's second component.
|
T3 |
item3
The value of the current Tuple4<T1, T2, T3, T4> object's third component.
|
T4 |
item4
The value of the current Tuple4<T1, T2, T3, T4> object's fourth component.
|
| Constructor and Description |
|---|
Tuple4(T1 item1,
T2 item2,
T3 item3,
T4 item4)
Initializes a new instance of the Tuple4 class containing
the specified objects.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests whether this instance is equal to a specified object.
|
boolean |
Equals(Tuple4<T1,T2,T3,T4> other)
Tests whether this instance is equal to a specified tuple.
|
int |
hashCode()
Returns the hash code for this instance.
|
java.lang.String |
toString()
Converts the value of this instance to its equivalent
string representation.
|
public final T1 item1
public final T2 item2
public final T3 item3
public final T4 item4
public Tuple4(T1 item1, T2 item2, T3 item3, T4 item4)
item1 - The value of the tuple's first component.item2 - The value of the tuple's second component.item3 - The value of the tuple's third component.item4 - The value of the tuple's fourth component.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - An object to compare with this instance.public int hashCode()
hashCode in class java.lang.Objectpublic boolean Equals(Tuple4<T1,T2,T3,T4> other)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright© 2012 Progeneric Systems, Inc. All Rights Reserved.