net.aerith.misao.database
Class CelestialDivisionMapContainer
java.lang.Object
|
+--net.aerith.misao.database.CelestialDivisionMapContainer
- public class CelestialDivisionMapContainer
- extends java.lang.Object
The CelestialDivisionMapContainer
represents a map
of the celestial globe divided per 10 minutes in R.A. and per 1
degree in Decl., which contains objects classified at proper cells
based on the R.A. and Decl.
Field Summary |
protected java.util.Vector[] |
object_map
The object map. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
object_map
protected java.util.Vector[] object_map
- The object map.
CelestialDivisionMapContainer
public CelestialDivisionMapContainer()
- Constructs a
CelestialDivisionMapContainer
.
add
public void add(Coor coor,
java.lang.Object object)
- Adds an object.
- Parameters:
coor
- the R.A. and Decl.object
- the object.
getObjectVectorAt
public java.util.Vector getObjectVectorAt(int index)
- Gets the object vector at the specified index.
- Parameters:
index
- the index.- Returns:
- the object vector.
getAccessor
public CelestialDivisionMapContainerAccessor getAccessor(CelestialDivisionMap map)
- Gets the sequential accessor to the objects at the specified
map.
- Parameters:
map
- the map to retrieve the objects at.- Returns:
- the sequential accessor.