org.openrdf.sesame.sail.util
Class EmptyResourceIterator
java.lang.Object
org.openrdf.sesame.sail.util.EmptyValueIterator
org.openrdf.sesame.sail.util.EmptyResourceIterator
- All Implemented Interfaces:
- ResourceIterator, ValueIterator
- public class EmptyResourceIterator
- extends EmptyValueIterator
- implements ResourceIterator
A ResourceIterator that contains exactly zero resources.
- Version:
- $Revision: 1.4.4.2 $
|
Method Summary |
Resource |
nextResource()
Always throws a NoSuchElementException as there are no results
in an EmptyResourceIterator. |
EmptyResourceIterator
public EmptyResourceIterator()
- Creates an EmptyResourceIterator.
nextResource
public Resource nextResource()
- Always throws a NoSuchElementException as there are no results
in an EmptyResourceIterator.
- Specified by:
nextResource in interface ResourceIterator
- Returns:
- the next Resource
- Throws:
NoSuchElementException - Is always thrown.- See Also:
ValueIterator.next()
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.