public class

WeakPseudoList

extends Object
implements Iterable<T>
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.collect.WeakPseudoList<T>

Class Overview

A list of weak references. Holding objects in this list will not prevent them from being GC'ed. This interface does not not abide to the usual Java List interface, hence the "pseudo".

Summary

Public Constructors
WeakPseudoList()
WeakPseudoList(int initialCapacity)
WeakPseudoList(Iterable<T> l)
Public Methods
boolean add(T e)
void add(int index, T e)
void addAll(Iterable<T> l)
void clear()
T get(int index)
boolean isEmpty()
Iterator<T> iterator()
T remove(int index)
T set(int index, T e)
int size()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Iterable

Public Constructors

public WeakPseudoList ()

public WeakPseudoList (int initialCapacity)

public WeakPseudoList (Iterable<T> l)

Public Methods

public boolean add (T e)

public void add (int index, T e)

public void addAll (Iterable<T> l)

public void clear ()

public T get (int index)

public boolean isEmpty ()

public Iterator<T> iterator ()

public T remove (int index)

public T set (int index, T e)

public int size ()