Package org.apache.lucene.facet.taxonomy
Class ParallelTaxonomyArrays.IntArray
java.lang.Object
org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays.IntArray
- Enclosing class:
ParallelTaxonomyArrays
Abstraction that looks like an int[], but read-only.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IntArray
public IntArray()Sole constructor *
-
-
Method Details
-
get
public abstract int get(int i) Equivalent to array[i].- Parameters:
i
- the index of the value to retrieve- Returns:
- the value at position i
-
length
public abstract int length()Equivalent to array.length.- Returns:
- the allocated size of the array
-