Package org.geotools.data.oracle.sdo
Class AttributeList
- Object
-
- AbstractCollection<E>
-
- AbstractList
-
- AttributeList
-
- All Implemented Interfaces:
Iterable
,Collection
,List
public class AttributeList 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
-
-
Field Summary
-
Fields inherited from class AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description AttributeList(Object array)
AttributeList(Object array, int offset, int len)
AttributeList(Object array, int offset, int len, int start, int end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(int index)
Used to grab value from array.double
getDouble(int index)
Quick double accessString
getString(int index)
int
size()
Used todouble[]
toDoubleArray()
Object[]
toObjectArray()
-
Methods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from interface Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
get
public Object get(int index)
Used to grab value from array.Description of get.
- Specified by:
get
in interfaceList
- Specified by:
get
in classAbstractList
- See Also:
List.get(int)
-
getDouble
public double getDouble(int index)
Quick double access
-
getString
public String getString(int index)
-
toDoubleArray
public double[] toDoubleArray()
-
toObjectArray
public Object[] toObjectArray()
-
size
public int size()
Used toDescription of size.
- Specified by:
size
in interfaceCollection
- Specified by:
size
in interfaceList
- Specified by:
size
in classAbstractCollection
- See Also:
Collection.size()
-
-