Class SplitLocalStep<S,​E>

  • All Implemented Interfaces:
    Serializable, AutoCloseable, Cloneable, Iterator<Traverser.Admin<E>>, Step<S,​E>, TraversalParent

    public final class SplitLocalStep<S,​E>
    extends StringLocalStep<S,​E>
    implements TraversalParent
    Reference implementation for substring step, a mid-traversal step which returns a list of strings created by splitting the incoming string traverser around the matches of the given separator. A null separator will split the string by whitespaces. Null values from incoming traversers are not processed and remain as null when returned. If the incoming traverser is a non-String value then an IllegalArgumentException will be thrown.
    David Bechberger (, Yang Xia (
    See Also:
    Serialized Form