Package autocomplete.dna
Class SuffixCollection.SubSequence
- java.lang.Object
-
- autocomplete.dna.SuffixCollection.Suffix
-
- autocomplete.dna.SuffixCollection.SubSequence
-
- All Implemented Interfaces:
CharSequence
- Enclosing class:
- SuffixCollection
private class SuffixCollection.SubSequence extends SuffixCollection.Suffix
A subsequence of the data between the given begin and end indices.
-
-
Field Summary
Fields Modifier and Type Field Description private int
length
-
Constructor Summary
Constructors Constructor Description SubSequence(int begin, int end)
Constructs a new subsequence of the data between the given begin and end indices.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
charAt(int index)
int
length()
-
Methods inherited from class autocomplete.dna.SuffixCollection.Suffix
subSequence, toString
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
-
-
-
Method Detail
-
charAt
public char charAt(int index)
- Specified by:
charAt
in interfaceCharSequence
- Overrides:
charAt
in classSuffixCollection.Suffix
-
length
public int length()
- Specified by:
length
in interfaceCharSequence
- Overrides:
length
in classSuffixCollection.Suffix
-
-