org.geotools.data.oracle.sdo
Class OrdinateList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byorg.geotools.data.oracle.sdo.OrdinateList
All Implemented Interfaces:
java.util.Collection, java.util.List

public class OrdinateList
extends java.util.AbstractList

Used to provide a List API of an ordinate array.

Insertions are not supported

Version:
CVS Version
Author:
jgarnett, Refractions Reasearch Inc.
See Also:
net.refractions.jspatial.jts

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
OrdinateList(double[] array)
           
OrdinateList(double[] array, int offset, int len)
           
OrdinateList(double[] array, int offset, int len, int start, int end)
           
 
Method Summary
 java.lang.Object get(int index)
          Used to grab value from array.
 double getDouble(int index)
          Quick double access
 int size()
          Used to Description of size.
 double[] toDoubleArray()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

OrdinateList

public OrdinateList(double[] array)

OrdinateList

public OrdinateList(double[] array,
                    int offset,
                    int len)

OrdinateList

public OrdinateList(double[] array,
                    int offset,
                    int len,
                    int start,
                    int end)
Method Detail

get

public java.lang.Object get(int index)
Used to grab value from array.

Description of get.

Parameters:
index -
Returns:
See Also:
List.get(int)

getDouble

public double getDouble(int index)
Quick double access


toDoubleArray

public double[] toDoubleArray()

size

public int size()
Used to

Description of size.

Returns:
See Also:
Collection.size()


Copyright © GeoTools. All Rights Reserved.