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