X
- Type of itempublic final class Sticky<X> extends Object implements Iterator<X>
There is no thread-safety guarantee.
Constructor and Description |
---|
Sticky(Iterator<X> iterator)
Ctor.
|
Sticky(X... items)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
X |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
@SafeVarargs public Sticky(X... items)
items
- Items to iterateCopyright © 2017 Cactoos. All rights reserved.