Interface ObjectArray<T>

    • Method Summary

      Modifier and Type Method and 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.elasticsearch.common.util.BigArray

        size
      • Methods inherited from interface org.elasticsearch.common.lease.Releasable

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

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