org.eclipse.net4j.util.collection
Class FastList<E>

java.lang.Object
  extended by org.eclipse.net4j.util.collection.FastList<E>

public abstract class FastList<E>
extends Object

Since:
3.0
Author:
Eike Stepper

Field Summary
protected  E[] elements
           
 
Constructor Summary
FastList()
           
 
Method Summary
 void add(E element)
           
protected  void firstElementAdded()
           
 E[] get()
           
 boolean isEmpty()
           
protected  void lastElementRemoved()
           
protected abstract  E[] newArray(int length)
           
 boolean remove(E element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elements

protected E[] elements
Constructor Detail

FastList

public FastList()
Method Detail

isEmpty

public boolean isEmpty()

get

public E[] get()

add

public void add(E element)

remove

public boolean remove(E element)

firstElementAdded

protected void firstElementAdded()

lastElementRemoved

protected void lastElementRemoved()

newArray

protected abstract E[] newArray(int length)


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