Class MemoryEstimator


  • public final class MemoryEstimator
    extends java.lang.Object
    MemoryEstimator
    • Constructor Detail

      • MemoryEstimator

        private MemoryEstimator()
      • MemoryEstimator

        MemoryEstimator​(long aBase)
    • Method Detail

      • estimateArray

        public static long estimateArray​(java.lang.Class<?> componentType,
                                         int length)
      • estimateObject

        public static long estimateObject​(java.lang.Class<?> type)
      • makeForClassExtendingObject

        public static MemoryEstimator makeForClassExtendingObject()
      • estimate

        public long estimate()
      • align

        private long align​(long alignement)