Interface ObjectArray<T>

All Superinterfaces:
org.apache.lucene.util.Accountable, AutoCloseable, BigArray, Closeable, org.elasticsearch.core.Releasable

public interface ObjectArray<T> extends BigArray
Abstraction of an array of object values.
  • Field Summary

    Fields inherited from interface org.apache.lucene.util.Accountable

    NULL_ACCOUNTABLE
  • Method Summary

    Modifier and Type
    Method
    Description
    get(long index)
    Get an element given its index.
    set(long index, T value)
    Set a value at the given index and return the previous value.

    Methods inherited from interface org.apache.lucene.util.Accountable

    getChildResources, ramBytesUsed

    Methods inherited from interface org.elasticsearch.common.util.BigArray

    size

    Methods inherited from interface org.elasticsearch.core.Releasable

    close
  • Method Details

    • get

      T get(long index)
      Get an element given its index.
    • set

      T set(long index, T value)
      Set a value at the given index and return the previous value.