Class RepeatedSequence

  • All Implemented Interfaces:
    CharSequence

    public class RepeatedSequence
    extends Object
    implements CharSequence
    CharSequence that repeats in a wraparound the given sequence.

    Partial repeat occurs when start % length() >0 and/or end % length() >0

    The hashCode is purposefully matched to the string equivalent or this.toString().hashCode()