|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.util.concurrent.WeakIterable<E>
@ThreadSafe public class WeakIterable<E>
Simple Iterable
that holds weak references
to
content elements. For convenience there are add(Object)
and
isEmpty()
methods.
Iterators
returned by this object maintain a hard reference
to the next object. They are otherwise unstable as references may be garbage
collected at any time
Constructor Summary | |
---|---|
WeakIterable()
|
Method Summary | |
---|---|
java.util.Iterator<E> |
iterator()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WeakIterable()
Method Detail |
---|
public java.util.Iterator<E> iterator()
iterator
in interface java.lang.Iterable<E>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |