org.geotools.data.oracle.sdo
Class OrdinateList
Object
AbstractCollection<E>
AbstractList
OrdinateList
- All Implemented Interfaces:
- Iterable, Collection, List
public class OrdinateList
- extends AbstractList
Used to provide a List API of an ordinate array.
Insertions are not supported
- Author:
- jgarnett, Refractions Reasearch Inc.
- See Also:
net.refractions.jspatial.jts
Method Summary |
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 AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
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)
get
public Object get(int index)
- Used to grab value from array.
Description of get.
- Specified by:
get
in interface List
- Specified by:
get
in class AbstractList
- Parameters:
index
- - 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.
- Specified by:
size
in interface Collection
- Specified by:
size
in interface List
- Specified by:
size
in class AbstractCollection
- See Also:
Collection.size()
Copyright © 1996-2014 Geotools. All Rights Reserved.