Module org.apache.lucene.facet
Class TaxonomyIndexArrays.ChunkedIntArray
java.lang.Object
org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays.IntArray
org.apache.lucene.facet.taxonomy.directory.TaxonomyIndexArrays.ChunkedIntArray
- Enclosing class:
TaxonomyIndexArrays
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
values
final int[][] values
-
-
Constructor Details
-
ChunkedIntArray
private ChunkedIntArray(int[][] values)
-
-
Method Details
-
get
public int get(int i) Description copied from class:ParallelTaxonomyArrays.IntArray
Equivalent to array[i].- Specified by:
get
in classParallelTaxonomyArrays.IntArray
- Parameters:
i
- the index of the value to retrieve- Returns:
- the value at position i
-
set
public void set(int i, int val) -
length
public int length()Description copied from class:ParallelTaxonomyArrays.IntArray
Equivalent to array.length.- Specified by:
length
in classParallelTaxonomyArrays.IntArray
- Returns:
- the allocated size of the array
-