| org.apache.commons.discovery.ResourceNameIterator
All known Subclasses: org.apache.commons.discovery.ResourceIterator,
ResourceNameIterator | public interface ResourceNameIterator (Code) | | Iterate over resource names.
The semantics are somewhat unusual, for better or worse.
hasNext is presumed to be destructive to the current state,
each call will 'move' the cursor.
nextResourceName() MUST BE non-destructive,
it does not change the state.
TODO: FIX iterator logic/semantics, possibly add 'currentResourceName()'.
author: Richard A. Sitze |
Method Summary | |
public boolean | hasNext() | public String | nextResourceName() nextResourceName() returns the name of the next resource,
and MUST be non-destructive. |
hasNext | public boolean hasNext()(Code) | | hasNext()
|
nextResourceName | public String nextResourceName()(Code) | | nextResourceName() returns the name of the next resource,
and MUST be non-destructive. Repeated calls
|
|
|