Payload - The payload type.public interface LookAhead<Payload>
LookAhead is a simple container that holds the
current and the next
payload object of an LookAheadIterator.| Modifier and Type | Method and Description |
|---|---|
Payload |
get()
Returns the current payload object of an
LookAheadIterator. |
Payload |
getNext()
Returns the next payload object of an
LookAheadIterator. |
boolean |
hasNext()
Returns whether this
LookAhead has a next payload object. |
boolean |
isLast()
Returns whether this
LookAhead has a no next payload object. |
Payload get()
LookAheadIterator.Payload getNext()
LookAheadIterator. The
returned value is not meaningful, if this LookAhead has no
LookAhead#hashCode() next payload object.boolean hasNext()
LookAhead has a next payload object.LookAhead has a next payload object.Copyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.