Class BytesRefArray.SortState

  • All Implemented Interfaces:
    Accountable
    Enclosing class:
    BytesRefArray

    public static final class BytesRefArray.SortState
    extends java.lang.Object
    implements Accountable
    Used to iterate the elements of an array in a given order.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int[] indices  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SortState​(int[] indices)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long ramBytesUsed()
      Return the memory usage of this object in bytes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • indices

        private final int[] indices
    • Constructor Detail

      • SortState

        private SortState​(int[] indices)
    • Method Detail

      • ramBytesUsed

        public long ramBytesUsed()
        Description copied from interface: Accountable
        Return the memory usage of this object in bytes. Negative values are illegal.
        Specified by:
        ramBytesUsed in interface Accountable