public class IlvPair<E1,E2> extends Object implements Serializable
Constructor and Description |
---|
IlvPair(E1 obj1,
E2 obj2)
Creates a new pair consisting of the two given objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns whether an object is logically equal to this pair.
|
int |
hashCode()
Returns a hashcode for this pair.
|
String |
toString()
Returns a string representation of this pair.
|
public boolean equals(Object obj)
true
if and only if the argument is
an IlvPair
whose two components equal the two components
of this pair.public int hashCode()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.