Package org.exoplatform.commons.utils
Class Spliterator
java.lang.Object
org.exoplatform.commons.utils.Spliterator
An iterator that splits a string into chunks without requiring to allocate an array to hold the various chunks of the
splitted string.
- Version:
- $Revision$
- Author:
- Julien Viet
-
Constructor Details
-
Spliterator
Creates a spliterator.- Parameters:
s- the string to splitseparator- the separator- Throws:
NullPointerException- if the string is null
-
-
Method Details