Save This Page
Home » apache-ant-1.7.1-src » org.apache.tools » ant » types » resources » [javadoc | source]
org.apache.tools.ant.types.resources
class: FailFast [javadoc | source]
java.lang.Object
   org.apache.tools.ant.types.resources.FailFast

All Implemented Interfaces:
    Iterator

Helper class for ResourceCollections to return Iterators that fail on changes to the object.
Constructor:
 FailFast(Object o,
    Iterator i) 
    Construct a new FailFast Iterator wrapping the specified Iterator and dependent upon the specified parent Object.
    Parameters:
    o - the parent Object.
    i - the wrapped Iterator.
Method from org.apache.tools.ant.types.resources.FailFast Summary:
hasNext,   invalidate,   next,   remove
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tools.ant.types.resources.FailFast Detail:
 public boolean hasNext() 
    Fulfill the Iterator contract.
 static synchronized  void invalidate(Object o) 
    Invalidate any in-use Iterators from the specified Object.
 public Object next() 
    Fulfill the Iterator contract.
 public  void remove() 
    Fulfill the Iterator contract.