Modifier and Type | Field and Description |
---|---|
int |
first
First value in pair
|
int |
second
Second value in pair
|
Constructor and Description |
---|
IntegerDBIDPair(int first,
int second)
Initialize pair
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Simple equals statement.
|
IntegerDBID |
getFirst()
Getter for first
|
IntegerDBID |
getSecond()
Getter for second element in pair
|
int |
hashCode()
Canonical hash function, mixing the two hash values.
|
String |
toString()
Canonical toString operator
|
public int first
public int second
public IntegerDBIDPair(int first, int second)
first
- first parametersecond
- second parameterpublic final IntegerDBID getFirst()
public final IntegerDBID getSecond()
public boolean equals(Object obj)