|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.database.text.WeakReferences<E>
public class WeakReferences<E>
A pool of weak reference objects, which do not prevent their referents from being made finalizable, finalized, and then reclaimed. This class may be used for keeping a pool of some Listeners. This class is not synchronized
Constructor Summary | |
---|---|
WeakReferences()
Constructs an empty pool. |
Method Summary | |
---|---|
boolean |
add(E o)
Appends the specified element to the pool. |
java.util.Iterator<E> |
iterator()
Returns an iterator over live elements in this pool in proper sequence. |
boolean |
remove(E o)
Removes a single instance of the specified element from this list, if it is present (optional operation). |
java.util.Iterator<E> |
reverseIterator()
Returns an iterator over live elements in this pool in reverse sequence. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WeakReferences()
Method Detail |
---|
public boolean add(E o)
o
- specified element.
public boolean remove(E o)
o
- speicified element.
public java.util.Iterator<E> iterator()
public java.util.Iterator<E> reverseIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |