| Package | Description |
|---|---|
| net.markenwerk.commons.iterators |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ProtectedBidirectionalIterator<Payload>
A
ProtectedBidirectionalIterator is a BidirectionalIterator
that guarantees that every call to
ProtectedBidirectionalIterator.remove() throws an
UnsupportedOperationException and doesn't alter the underlying data
structure. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIndexedIterator<Payload>
An
AbstractIndexedIterator is an abstract base implementation for
ProtectedBidirectionalIterator implementations that holds the current
index and implements the index-related methods. |
class |
AbstractProtectedBidirectionalIterator<Payload>
An
AbstractProtectedBidirectionalIterator is an abstract base implementation for
ProtectedBidirectionalIterator implementations that guarantees that every call
to AbstractProtectedIterator.remove() throws an
UnsupportedOperationException. |
class |
ArrayIterator<Payload>
An
ArrayIterator is an AbstractIndexedIterator that iterates
over a given payload array. |
class |
BooleanArrayIterator
|
class |
ByteArrayIterator
|
class |
CharacterArrayIterator
|
class |
CountDownIterator
A
CountDownIterator is an AbstractIndexedIterator that yields
all integer value between a given upper bound and a given lower bound. |
class |
CountUpIterator
A
CountUpIterator is an AbstractIndexedIterator that yields
all integer value between a given lower bound and a given upper bound. |
class |
DoubleArrayIterator
|
class |
EmptyIterator<Payload>
An
EmptyIterator is an AbstractIndexedIterator that doesn't
yield any values. |
class |
FloatArrayIterator
|
class |
IntegerArrayIterator
|
class |
LongArrayIterator
|
class |
NodeListIterator
|
class |
ObjectIterator<Payload>
An
ObjectIterator is an AbstractIndexedIterator that iterates
over a single payload object. |
class |
OptionalIterator<Payload>
An
OptionalIterator is an AbstractIndexedIterator that
behaves like an ObjectIterator for a given payload object, or like an
empty Iterator, if the given payload object is null. |
class |
PairIterator<Payload>
|
class |
ProtectingBidirectionalIterator<Payload>
A
ProtectingBidirectionalIterator is an
AbstractProtectedIterator that can be wrapped around a given
BidirectionalIterator and guarantees that every call to
AbstractProtectedIterator.remove() throws an
UnsupportedOperationException and doesn't alter the underlying
Iterator. |
class |
ShortArrayIterator
|
class |
TripleIterator<Payload>
|
class |
TupleIterator<Payload>
|
| Constructor and Description |
|---|
ProtectingBidirectionalIterator(BidirectionalIterator<? extends Payload> iterator)
Creates a new
ProtectingBidirectionalIterator. |
Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.