public final class StringTokenizerIterable extends Object implements ProtectedIterable<String>
StringTokenizerIterable is a ProtectedIterable that can be
wrapped around a given Producer for StringTokenizers and generates Iterators that yield all
strings from a produced StringTokenizer.| Constructor and Description |
|---|
StringTokenizerIterable(net.markenwerk.commons.interfaces.Provider<StringTokenizer> producer)
Creates a new
StringTokenizerIterable. |
| Modifier and Type | Method and Description |
|---|---|
net.markenwerk.commons.iterators.StringTokenizerIterator |
iterator()
Returns a
ProtectedIterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic StringTokenizerIterable(net.markenwerk.commons.interfaces.Provider<StringTokenizer> producer) throws IllegalArgumentException
StringTokenizerIterable.producer - The Producer for StringTokenizers to iterate over.IllegalArgumentException - If the given Producer for StringTokenizers is null.public net.markenwerk.commons.iterators.StringTokenizerIterator iterator()
ProtectedIterableProtectedIterator.Copyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.