org.eclipse.net4j.util.collection
Class IndexedList.ArrayBacked<E>

java.lang.Object
  extended by org.eclipse.net4j.util.collection.IndexedList<E>
      extended by org.eclipse.net4j.util.collection.IndexedList.ArrayBacked<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>
Enclosing class:
IndexedList<E>

public abstract static class IndexedList.ArrayBacked<E>
extends IndexedList<E>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.net4j.util.collection.IndexedList
IndexedList.ArrayBacked<E>
 
Constructor Summary
IndexedList.ArrayBacked()
           
 
Method Summary
 E get(int i)
           
protected abstract  E[] getArray()
           
 int size()
           
 
Methods inherited from class org.eclipse.net4j.util.collection.IndexedList
add, add, addAll, addAll, clear, contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
equals, hashCode
 

Constructor Detail

IndexedList.ArrayBacked

public IndexedList.ArrayBacked()
Method Detail

getArray

protected abstract E[] getArray()

get

public E get(int i)
Specified by:
get in interface List<E>
Specified by:
get in class IndexedList<E>

size

public int size()
Specified by:
size in interface Collection<E>
Specified by:
size in interface List<E>
Specified by:
size in class IndexedList<E>


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.