Package org.biojava.nbio.survival.data
Class CompactCharSequence
java.lang.Object
org.biojava.nbio.survival.data.CompactCharSequence
- All Implemented Interfaces:
Serializable,CharSequence
http://www.javamex.com/tutorials/memory/ascii_charsequence.shtml
- Author:
- Scooter Willis
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int index) intlength()subSequence(int start, int end) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty
-
Constructor Details
-
CompactCharSequence
- Parameters:
str-
-
-
Method Details
-
charAt
- Specified by:
charAtin interfaceCharSequence
-
length
- Specified by:
lengthin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-