Class 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
  • Constructor Details

    • 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 Details

    • 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
      See Also:
    • 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: