fabric.common.util
Class WeakReferenceArrayList<T>

java.lang.Object
  extended by fabric.common.util.WeakReferenceArrayList<T>
All Implemented Interfaces:
java.lang.Iterable<T>

public class WeakReferenceArrayList<T>
extends java.lang.Object
implements java.lang.Iterable<T>

An array list of weak references. List elements are removed as the weak references are broken.


Constructor Summary
WeakReferenceArrayList()
           
 
Method Summary
 boolean add(T e)
           
 void clear()
           
 boolean isEmpty()
           
 java.util.Iterator<T> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeakReferenceArrayList

public WeakReferenceArrayList()
Method Detail

isEmpty

public boolean isEmpty()

clear

public void clear()

add

public boolean add(T e)

iterator

public java.util.Iterator<T> iterator()
Specified by:
iterator in interface java.lang.Iterable<T>