sizeOf
Return the shallow size of the provided Integer object. Ignores the possibility that this object is part of the VM IntegerCache
Return the shallow size of the provided Long object. Ignores the possibility that this object is part of the VM LongCache
Returns the size in bytes of the byte[] object.
Returns the size in bytes of the boolean[] object.
Returns the size in bytes of the char[] object.
Returns the size in bytes of the short[] object.
Returns the size in bytes of the int[] object.
Returns the size in bytes of the float[] object.
Returns the size in bytes of the long[] object.
Returns the size in bytes of the double[] object.
Returns the size in bytes of the String[] object.
Returns the size in bytes of a Query object. Unknown query types will be estimated as .QUERY_DEFAULT_RAM_BYTES_USED.
Returns the size in bytes of a Query object. Unknown query types will be estimated using .shallowSizeOf, or using the supplied defSize parameter if its value is greater than 0.
Returns the size in bytes of the Accountable object, using its method.
Returns the size in bytes of the String object.
Return the size of the provided array of Accountables by summing up the shallow size of the array and the memory usage reported by each [ ].