Class RTrimStep<S>

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

    public final class RTrimStep<S>
    extends ScalarMapStep<S,​String>
    Reference implementation for rTrim() step, a mid-traversal step which a string with trailing whitespace removed. 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