Modifier and Type | Field and Description |
---|---|
private static final WeakHashMap | |
private final Object | |
private Iterator |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
private static synchronized void | |
private static synchronized void | |
public boolean | Returns: true if there are more elements.Implements java. |
pack-priv static synchronized void | |
public Resource | |
private static synchronized void | |
public void |
MAP | back to summary |
---|---|
private static final WeakHashMap<Object, Set<FailFast>> MAP |
parent | back to summary |
---|---|
private final Object parent |
wrapped | back to summary |
---|---|
private Iterator<Resource> wrapped |
FailFast | back to summary |
---|---|
pack-priv FailFast(Object o, Iterator<Resource> i) Construct a new FailFast Iterator wrapping the specified Iterator and dependent upon the specified parent Object. |
add | back to summary |
---|---|
private static synchronized void add(FailFast f) |
failFast | back to summary |
---|---|
private static synchronized void failFast(FailFast f) |
hasNext | back to summary |
---|---|
public boolean hasNext() Implements java. Fulfill the Iterator contract.
|
invalidate | back to summary |
---|---|
pack-priv static synchronized void invalidate(Object o) Invalidate any in-use Iterators from the specified Object.
|
next | back to summary |
---|---|
public Resource next() Implements java. Fulfill the Iterator contract.
|
remove | back to summary |
---|---|
private static synchronized void remove(FailFast f) |
remove | back to summary |
---|---|
public void remove() Overrides default java. Fulfill the Iterator contract.
|