| java.lang.Object javax.swing.text.html.parser.Pair
Pair | final class Pair (Code) | | This class implements a generic pair.
|
Constructor Summary | |
public | Pair(E comp1, T comp2) |
Pair | public Pair(E comp1, T comp2)(Code) | | Parameters: comp1 - first component Parameters: comp2 - second component |
equals | final public boolean equals(Object o)(Code) | | Parameters: o - the object that will be compared for equality. true if obj is instance of theclass Pair , else return false |
getFirst | final public E getFirst()(Code) | | the first component of pair |
getSecond | final public T getSecond()(Code) | | the second component of pair |
hashCode | final public int hashCode()(Code) | | the hash code for this object. |
toString | final public String toString()(Code) | | a description of the contained of an object of this class |
|
|