Class SafeCharSequence

  • All Implemented Interfaces:
    java.lang.CharSequence
    Direct Known Subclasses:
    DnsLabel, DnsName

    public class SafeCharSequence
    extends java.lang.Object
    implements java.lang.CharSequence
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char charAt​(int index)  
      int length()  
      java.lang.CharSequence subSequence​(int start, int end)  
      java.lang.String toSafeString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.CharSequence

        chars, codePoints, toString
    • Method Detail

      • length

        public final int length()
        Specified by:
        length in interface java.lang.CharSequence
      • charAt

        public final char charAt​(int index)
        Specified by:
        charAt in interface java.lang.CharSequence
      • subSequence

        public final java.lang.CharSequence subSequence​(int start,
                                                        int end)
        Specified by:
        subSequence in interface java.lang.CharSequence