org.kaboum.util
Class KaboumList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector
              extended by org.kaboum.util.KaboumList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess
Direct Known Subclasses:
KaboumGGDIndex

public class KaboumList
extends java.util.Vector

Basic implementation of List / ArrayList java 1.2 classes

Author:
jrom
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
KaboumList()
          Constructor
KaboumList(int i)
          Constructor
 
Method Summary
 KaboumCoordinate[] toCoordinateArray()
          Return an array of KaboumCoordinate
 KaboumGeometry[] toGeometryArray()
          Return an array of KaboumGeometry
static KaboumList toKaboumList(KaboumCoordinate[] internals)
          Return a vector from an array of coordinates
 KaboumLinearRing[] toLinearRingArray()
          Return an array of KaboumLinearRing
 KaboumLineString[] toLineStringArray()
          Return an array of KaboumLineString
 KaboumMultiLineString[] toMultiLineStringArray()
          Return an array of KaboumMultiLineString
 KaboumMultiPoint[] toMultiPointArray()
          Return an array of KaboumMultiPoint
 KaboumMultiPolygon[] toMultiPolygonArray()
          Return an array of KaboumMultiPolygon
 KaboumPoint[] toPointArray()
          Return an array of KaboumPoint
 KaboumPolygon[] toPolygonArray()
          Return an array of KaboumPolygon
 
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
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

KaboumList

public KaboumList()
Constructor


KaboumList

public KaboumList(int i)
Constructor

Method Detail

toKaboumList

public static KaboumList toKaboumList(KaboumCoordinate[] internals)
Return a vector from an array of coordinates


toCoordinateArray

public KaboumCoordinate[] toCoordinateArray()
Return an array of KaboumCoordinate


toGeometryArray

public KaboumGeometry[] toGeometryArray()
Return an array of KaboumGeometry


toPointArray

public KaboumPoint[] toPointArray()
Return an array of KaboumPoint


toMultiPointArray

public KaboumMultiPoint[] toMultiPointArray()
Return an array of KaboumMultiPoint


toLineStringArray

public KaboumLineString[] toLineStringArray()
Return an array of KaboumLineString


toMultiLineStringArray

public KaboumMultiLineString[] toMultiLineStringArray()
Return an array of KaboumMultiLineString


toPolygonArray

public KaboumPolygon[] toPolygonArray()
Return an array of KaboumPolygon


toMultiPolygonArray

public KaboumMultiPolygon[] toMultiPolygonArray()
Return an array of KaboumMultiPolygon


toLinearRingArray

public KaboumLinearRing[] toLinearRingArray()
Return an array of KaboumLinearRing



Copyright © 2005 Kaboum team. All Rights Reserved.