public class Pair extends Object
Modifier and Type | Field and Description |
---|---|
private Object |
_first |
private Object |
_second |
Constructor and Description |
---|
Pair(Object first,
Object second)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Equality test.
|
Object |
first()
Fetch the first object.
|
int |
hashCode()
Compute a hash code for the pair.
|
boolean |
notEquals(Object o)
Inequality test, convenience method.
|
Object |
second()
Fetch the second object.
|
String |
toString()
String representation of this Pair.
|
public Object first()
public Object second()
public boolean equals(Object o)
public boolean notEquals(Object o)
o
- Pair Object to test against.public int hashCode()
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.