org.geotools.data.shapefile.indexed
Class CloseableArrayList
Object
AbstractCollection<E>
AbstractList<Data>
CloseableArrayList
- All Implemented Interfaces:
- Iterable<Data>, Collection<Data>, List<Data>, CloseableCollection<Data>
public class CloseableArrayList
- extends AbstractList<Data>
- implements CloseableCollection<Data>
Currently just wraps ArrayList and delegates to that class
- Author:
- jesse
Methods inherited from class AbstractList |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
Methods inherited from interface Collection |
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, toArray, toArray |
CloseableArrayList
public CloseableArrayList(int length)
CloseableArrayList
public CloseableArrayList()
get
public Data get(int index)
- Specified by:
get
in interface List<Data>
- Specified by:
get
in class AbstractList<Data>
size
public int size()
- Specified by:
size
in interface Collection<Data>
- Specified by:
size
in interface List<Data>
- Specified by:
size
in class AbstractCollection<Data>
close
public void close()
throws IOException
- Description copied from interface:
CloseableCollection
- Close the collection so it cleans up its resources
- Specified by:
close
in interface CloseableCollection<Data>
- Throws:
IOException
add
public boolean add(Data o)
- Specified by:
add
in interface Collection<Data>
- Specified by:
add
in interface List<Data>
- Overrides:
add
in class AbstractList<Data>
closeIterator
public void closeIterator(Iterator<Data> iter)
throws IOException
- Description copied from interface:
CloseableCollection
- Close the collection so it cleans up its resources
- Specified by:
closeIterator
in interface CloseableCollection<Data>
- Throws:
IOException
Copyright © 1996-2009 Geotools. All Rights Reserved.