public class LocalUnitPair
extends java.lang.Object
Constructor and Description |
---|
LocalUnitPair(Local local,
Unit unit)
Constructs a LocalUnitPair from a Unit object and a Local object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Two LocalUnitPairs are equal iff they hold the same Unit objects and
the same Local objects within them.
|
Local |
getLocal() |
Unit |
getUnit() |
int |
hashCode() |
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- another LocalUnitPairpublic int hashCode()
hashCode
in class java.lang.Object
public Local getLocal()
public Unit getUnit()