public final class StringTokenizerIterable extends Object implements Iterable<String>
StringTokenizerIterable is a Iterable that can be wrapped
around a given Producer for StringTokenizers
and generates Iterators that yield all strings from a
produced StringTokenizer.
Calling iterator() creates an instance of
StringTokenizerIterator.
| Constructor and Description |
|---|
StringTokenizerIterable(Producer<StringTokenizer> producer)
|
| Modifier and Type | Method and Description |
|---|---|
StringTokenizerIterator |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic StringTokenizerIterable(Producer<StringTokenizer> producer) throws IllegalArgumentException
producer - The Producer for StringTokenizers, around which the new
StringTokenizerIterable will be wrapped.IllegalArgumentException - If the given Producer for StringTokenizers is null.public StringTokenizerIterator iterator()
Copyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.