Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uchicago.src.collection
Class Pair

    java.lang.Object
      uchicago.src.collection.Pair

Direct Known Subclasses:
  ComboPair

    public class Pair

extends java.lang.Object

Replacement for objectspace's jgl pair class.

Version:
  $Revision: 1.3 $ $Date: 2004/11/03 19:51:00 $

Field Summary
`java.lang.Object` | `first`
`java.lang.Object` | `second`

Constructor Summary
`Pair()`
`Pair(java.lang.Object first, java.lang.Object second)`

Method Summary
`boolean` | `equals(java.lang.Object obj)`
`int` | `hashCode()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### first

    public java.lang.Object first

### second

    public java.lang.Object second

Constructor Detail

### Pair

    public Pair()

### Pair

    public Pair(java.lang.Object first,
                java.lang.Object second)

Method Detail

### equals

    public boolean equals(java.lang.Object obj)

  Overrides:
    `equals` in class `java.lang.Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD