Class Repeated

  • All Implemented Interfaces:
    Text

    public final class Repeated
    extends TextEnvelope
    Repeat an text count times.

    There is no thread-safety guarantee.

    Since:
    0.9
    • Constructor Detail

      • Repeated

        public Repeated​(CharSequence text,
                        int count)
        Ctor.
        Parameters:
        text - A String
        count - How many times repeat the Text
      • Repeated

        public Repeated​(Text text,
                        int count)
        Ctor.
        Parameters:
        text - The Text
        count - How many times repeat the Text