|
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.IntegerSequence
public final class IntegerSequence
An ISequence wrapper for an array of integers.
| Constructor Summary | |
|---|---|
IntegerSequence(int[] seq)
|
|
IntegerSequence(int[] seq,
int start,
int length)
|
|
| 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 |
| Constructor Detail |
|---|
public IntegerSequence(int[] seq)
public IntegerSequence(int[] seq,
int start,
int length)
| 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 | ||||||||