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(Provider<StringTokenizer> producer)
Creates a new
StringTokenizerIterable. |
| Modifier and Type | Method and Description |
|---|---|
StringTokenizerIterator |
iterator()
Returns a
ProtectedIterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic StringTokenizerIterable(Provider<StringTokenizer> producer) throws IllegalArgumentException
StringTokenizerIterable.producer - The Producer for StringTokenizers to iterate over.IllegalArgumentException - If the given Producer for StringTokenizers is null.public StringTokenizerIterator iterator()
ProtectedIterableProtectedIterator.iterator in interface Iterable<String>iterator in interface ProtectedIterable<String>ProtectedIterator.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.