edu.stanford.nlp.util
Class UnorderedPair
java.lang.Object
|
+--edu.stanford.nlp.util.Pair
|
+--edu.stanford.nlp.util.UnorderedPair
- All Implemented Interfaces:
- Comparable, Serializable
- public class UnorderedPair
- extends Pair
Unordered Pair
Class for holding an unordered pair of objects
- See Also:
- Serialized Form
UnorderedPair
public UnorderedPair()
UnorderedPair
public UnorderedPair(Object first,
Object second)
toString
public String toString()
- Overrides:
toString
in class Pair
equals
public boolean equals(Object o)
- Overrides:
equals
in class Pair
hashCode
public int hashCode()
- Overrides:
hashCode
in class Pair
Stanford NLP Group