|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Location
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Method Summary | |
|---|---|
Location |
clone()
Locations are cloneable. |
boolean |
equals(Object other)
Two locations are equals if they specify the same coordinates, but the orientation may be different. |
boolean |
equivalent(Location other)
Two locations are equivalent if they specify the same location and orientation. |
Location |
getOpposite()
Get a new Location instance that is equals() to this one but that has an orientation facing the opposite direction. |
int |
hashCode()
The hashcode of a Location should be based only on its coordinates. |
| Method Detail |
|---|
Location getOpposite()
boolean equivalent(Location other)
boolean equals(Object other)
equals in class Objectint hashCode()
hashCode in class ObjectLocation clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||