public abstract class LocationIdentity extends Object
LocationIdentity must use Object.equals(Object), not ==, when
comparing two LocationIdentity values for equality. Likewise, they must not use
IdentityHashMaps with LocationIdentity values as keys.| Modifier and Type | Class and Description |
|---|---|
private static class |
LocationIdentity.AnyLocationIdentity |
| Modifier and Type | Field and Description |
|---|---|
static LocationIdentity |
ANY_LOCATION |
| Constructor and Description |
|---|
LocationIdentity() |
| Modifier and Type | Method and Description |
|---|---|
static LocationIdentity |
any() |
boolean |
isAny() |
abstract boolean |
isImmutable()
Denotes a location is unchanging in all cases.
|
boolean |
isMutable() |
boolean |
isSingle() |
boolean |
overlaps(LocationIdentity other) |
public static final LocationIdentity ANY_LOCATION
public LocationIdentity()
public static LocationIdentity any()
public abstract boolean isImmutable()
public final boolean isMutable()
public final boolean isAny()
public final boolean isSingle()
public final boolean overlaps(LocationIdentity other)