|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
JavaGrinders.Variable
JavaGrinders.spatial.CaptureVariable
JavaGrinders.spatial.Animal
public class Animal
characterizes an animal as a spatially explicit entity.
| Field Summary | |
|---|---|
MoveVector |
moveInStore
|
| Fields inherited from class JavaGrinders.spatial.CaptureVariable |
|---|
latlong |
| Fields inherited from class JavaGrinders.Variable |
|---|
allData, autoExtracted, df, itsDescriptives, itsHighlitedColor, itsLineColor, itsLocationColor, rand |
| Fields inherited from class java.util.Vector |
|---|
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
Animal()
Empty constructor for the Animal class |
|
Animal(java.lang.String name)
Constructor for the Animal class |
|
Animal(java.lang.String name,
Group aPop)
Standard constructor for the Animal class |
|
| Method Summary | |
|---|---|
long |
getCurrentTime()
returns the current time stamp |
boolean |
withinConstraint(SpatialVector aLocation)
sets a constraint for the movement of the animal |
boolean |
withinTimeScope(long aTime)
check whether the time provided is withinthe time scope of the animal |
| Methods inherited from class java.util.Vector |
|---|
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
iterator, listIterator, listIterator |
| Field Detail |
|---|
public MoveVector moveInStore
| Constructor Detail |
|---|
public Animal()
throws java.lang.Exception
java.lang.Exception
public Animal(java.lang.String name)
throws java.lang.Exception
java.lang.Exception
public Animal(java.lang.String name,
Group aPop)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public boolean withinConstraint(SpatialVector aLocation)
throws java.lang.Exception
aLocation - a location to check whether it is located within the spatial constraint
java.lang.Exception
public boolean withinTimeScope(long aTime)
throws java.lang.Exception
aTime - the time to look up
java.lang.Exceptionpublic long getCurrentTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||