Class HugeArrays


  • public final class HugeArrays
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int PAGE_SIZE  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long oversize​(long minTargetSize, int bytesPerElement)
      Huge version of Lucene oversize for arrays.
      static int oversizeInt​(int minTargetSize, int bytesPerElement)  
      • Methods inherited from class java.lang.Object

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

      • oversize

        public static long oversize​(long minTargetSize,
                                    int bytesPerElement)
        Huge version of Lucene oversize for arrays. see org.apache.lucene.util.ArrayUtil#oversize(int, int)
      • oversizeInt

        public static int oversizeInt​(int minTargetSize,
                                      int bytesPerElement)