Interface ObjectArray<T>

  • All Superinterfaces:
    org.apache.lucene.util.Accountable, java.lang.AutoCloseable, BigArray, java.io.Closeable, Releasable

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

      Modifier and Type Method Description
      T get​(long index)
      Get an element given its index.
      T 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.common.lease.Releasable

        close
    • Method Detail

      • 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.