Package 

Class CharSequenceUtils

    • Constructor Summary

      Constructors 
      Constructor Description
      CharSequenceUtils() {@code CharSequenceUtils} instances should NOT be constructed instandard programming.
    • Method Summary

      Modifier and Type Method Description
      static CharSequence subSequence(CharSequence cs, int start) Returns a new {@code CharSequence} that is a subsequence of thissequence starting with the {@code char} value at the specified index.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CharSequenceUtils

        CharSequenceUtils()
        {@code CharSequenceUtils} instances should NOT be constructed instandard programming.
    • Method Detail

      • subSequence

         static CharSequence subSequence(CharSequence cs, int start)

        Returns a new {@code CharSequence} that is a subsequence of thissequence starting with the {@code char} value at the specified index.

        This provides the {@code CharSequence} equivalent to substring.The length (in {@code char}) of the returned sequence is {@code length() - start},so if {@code start == end} then an empty sequence is returned.

        Parameters:
        cs - the specified subsequence, null returns null
        start - the start index, inclusive, valid