Class ParallelTaxonomyArrays.IntArray

java.lang.Object
org.apache.lucene.facet.taxonomy.ParallelTaxonomyArrays.IntArray
Enclosing class:
ParallelTaxonomyArrays

public abstract static class ParallelTaxonomyArrays.IntArray extends Object
Abstraction that looks like an int[], but read-only.
  • 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