|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ItemLocation
Method Summary | |
---|---|
boolean |
equals(Object other)
Compare the specified object with this type for equality. |
ItemLocation |
getClone()
Create a cloned copy of the current object and return it. |
double |
getDistance(DistanceMeasure measure,
ItemLocation other)
Calculate the distance between this location and another one with a specified distance measure |
void |
moveItem(Type amount)
Move this location by the specified amount |
Methods inherited from interface net.sourceforge.cilib.type.types.Type |
---|
hashCode |
Method Detail |
---|
ItemLocation getClone()
getClone
in interface Cloneable
getClone
in interface Type
Object.clone()
double getDistance(DistanceMeasure measure, ItemLocation other)
measure
- The distance measureother
- The other location
void moveItem(Type amount)
amount
- boolean equals(Object other)
Type
true
if and only if the specified object is also an instance
of the same type.
equals
in interface Type
equals
in class Object
other
- The object to compare.
true
if equality exists, false
otherwise.Object.equals(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |