Class ParallelTaxonomyArrays.IntArray

  • Enclosing class:
    ParallelTaxonomyArrays

    public abstract static class ParallelTaxonomyArrays.IntArray
    extends Object
    Abstraction that looks like an int[], but read-only.
    • Constructor Detail

      • IntArray

        public IntArray()
        Sole constructor *
    • Method Detail

      • 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