net.aerith.misao.database
Class CelestialDivisionMapContainerAccessor

java.lang.Object
  |
  +--net.aerith.misao.database.CelestialDivisionMapContainerAccessor

public class CelestialDivisionMapContainerAccessor
extends java.lang.Object

The CelestialDivisionMapContainerAccessor represents a sequential accessor to the objects on the celestial division map where the flag is set as true.


Field Summary
protected  int index
          The current index on the map.
protected  int index2
          The current index in the vector.
protected  CelestialDivisionMap map
          The celestial division map.
protected  CelestialDivisionMapContainer map_container
          The celestial division container map.
protected  java.util.Vector vector
          The current vector.
 
Constructor Summary
CelestialDivisionMapContainerAccessor(CelestialDivisionMapContainer map_container, CelestialDivisionMap map)
          Constructs a CelestialDivisionMapContainerAccessor.
 
Method Summary
 java.lang.Object getFirstElement()
          Gets the first object where the flag is set as true.
 java.lang.Object getNextElement()
          Gets the next object where the flag is set as true.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

map_container

protected CelestialDivisionMapContainer map_container
The celestial division container map.

map

protected CelestialDivisionMap map
The celestial division map.

index

protected int index
The current index on the map.

vector

protected java.util.Vector vector
The current vector.

index2

protected int index2
The current index in the vector.
Constructor Detail

CelestialDivisionMapContainerAccessor

public CelestialDivisionMapContainerAccessor(CelestialDivisionMapContainer map_container,
                                             CelestialDivisionMap map)
Constructs a CelestialDivisionMapContainerAccessor.
Parameters:
map_container - the celestial division container map.
map - the celestial division map.
Method Detail

getFirstElement

public java.lang.Object getFirstElement()
Gets the first object where the flag is set as true.
Returns:
the first object where the flag is set as true.

getNextElement

public java.lang.Object getNextElement()
Gets the next object where the flag is set as true.
Returns:
the next object where the flag is set as true.