public class LookAheadStream<ITEM> extends java.lang.Object implements INamespaceReader<ITEM>
Constructor and Description |
---|
LookAheadStream(INamespaceReader<ITEM> stream) |
Modifier and Type | Method and Description |
---|---|
TermUri |
getTerm()
Returns the namespace of the items included in the stream
|
boolean |
hasNext()
Checks the availablity of a next object in the stream.
|
boolean |
hasNextLookAhead(int max) |
boolean |
isLookingAhead() |
ITEM |
read()
Returns the next Object of this reader.
|
ITEM |
readLookAhead() |
ITEM |
readLookAhead(int max) |
int |
sizeLookAhead() |
public LookAheadStream(INamespaceReader<ITEM> stream)
public ITEM read()
IReader
null
if no object is left.public ITEM readLookAhead(int max)
public ITEM readLookAhead()
public boolean hasNextLookAhead(int max)
public int sizeLookAhead()
public boolean isLookingAhead()
public boolean hasNext()
IReader
public TermUri getTerm()
INamespace
getTerm
in interface INamespace
Copyright © 2007-2020 EDIT. All Rights Reserved.