com.phoenixst.collections
public class UnorderedPair extends AbstractUnmodifiableCollection implements Serializable
.equals()
.
Since: 1.0
Version: $Revision: 1.4 $
Constructor Summary | |
---|---|
UnorderedPair() | |
UnorderedPair(Object first, Object second) |
Method Summary | |
---|---|
boolean | contains(Object object) |
boolean | equals(Object object)
To conform to the contracts for Set ,
List , and other potential types of
Collections , instances of this class can only be
.equals() to other instances of this class. |
Object | getFirst() |
Object | getSecond() |
int | hashCode() |
boolean | isEmpty() |
Iterator | iterator() |
void | setFirst(Object first) |
void | setSecond(Object second) |
int | size() |
Object[] | toArray() |
Set
,
List
, and other potential types of
Collections
, instances of this class can only be
.equals()
to other instances of this class.