|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.text.suffixtree.CharacterSequence
public final class CharacterSequence
A ISequence wrapper for any CharSequence.
| Field Summary | |
|---|---|
CharSequence |
value
|
| Constructor Summary | |
|---|---|
CharacterSequence(CharSequence chs)
|
|
| Method Summary | |
|---|---|
int |
objectAt(int i)
Returns a unique integer code for object at index i (the first element
has 0 index). |
int |
size()
Returns the number of elements in the sequence. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final CharSequence value
| Constructor Detail |
|---|
public CharacterSequence(CharSequence chs)
| Method Detail |
|---|
public int size()
ISequence
size in interface ISequencepublic int objectAt(int i)
ISequencei (the first element
has 0 index).
objectAt in interface ISequence
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||