org.geotools.data.oracle.sdo
Class AttributeList

Object
  extended by AbstractCollection<E>
      extended by AbstractList
          extended by 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
Module:
modules/plugin/jdbc-oracle (gt-jdbc-oracle.jar)

Field Summary
 
Fields inherited from class AbstractList
modCount
 
Constructor Summary
AttributeList(Object array)
           
AttributeList(Object array, int offset, int len)
           
AttributeList(Object array, int offset, int len, int start, int end)
           
 
Method Summary
 Object get(int index)
          Used to grab value from array.
 double getDouble(int index)
          Quick double access
 String getString(int index)
           
 int size()
          Used to Description of size.
 double[] 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 class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

AttributeList

public AttributeList(Object array)

AttributeList

public AttributeList(Object array,
                     int offset,
                     int len)

AttributeList

public AttributeList(Object array,
                     int offset,
                     int len,
                     int start,
                     int end)
Method Detail

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


getString

public String getString(int index)

toDoubleArray

public double[] toDoubleArray()

toObjectArray

public Object[] toObjectArray()

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-2009 Geotools. All Rights Reserved.