Class LengthLocalStep<S,​E>

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

    public final class LengthLocalStep<S,​E>
    extends StringLocalStep<S,​E>
    Reference implementation for length() step, a mid-traversal step which returns the length of the incoming string traverser. Null values are not processed and remain as null when returned. If the incoming traverser is a non-String value then an IllegalArgumentException will be thrown.
    Author:
    David Bechberger (http://bechberger.com), Yang Xia (http://github.com/xiazcy)
    See Also:
    Serialized Form