Class chainMap

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--chainMap

public class chainMap
extends java.util.Vector

this class holds a vector of chain objects which make up a map

See Also:
Serialized Form

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
chainMap()
           
chainMap(int numchains)
           
 
Method Summary
 chainMap copy()
          makes and returns a copy of itself
 void display(java.awt.Graphics g)
          display the map on the screen
 void init()
          Method: init this method will initialize all of the chains in the chainMap so that the currentpointer will be 0 this is done before converting the map...
 chainMap parseMap(java.lang.String MapString)
          Method: parseMap this mthod accepts a String (which must be in the required format) and returns a chainMap object.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, 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
 

Constructor Detail

chainMap

public chainMap()

chainMap

public chainMap(int numchains)
Method Detail

display

public void display(java.awt.Graphics g)
display the map on the screen

init

public void init()
Method: init this method will initialize all of the chains in the chainMap so that the currentpointer will be 0 this is done before converting the map...

parseMap

public chainMap parseMap(java.lang.String MapString)
Method: parseMap this mthod accepts a String (which must be in the required format) and returns a chainMap object.

copy

public chainMap copy()
makes and returns a copy of itself