| Package | Description |
|---|---|
| org.jsimpledb.util |
General utility classes used with JSimpleDB.
|
| Modifier and Type | Method and Description |
|---|---|
SizeEstimator |
SizeEstimator.add(boolean[] array)
Add the size of the given array object.
|
SizeEstimator |
SizeEstimator.add(byte[] array)
Add the size of the given array object.
|
SizeEstimator |
SizeEstimator.add(char[] array)
Add the size of the given array object.
|
SizeEstimator |
SizeEstimator.add(double[] array)
Add the size of the given array object.
|
SizeEstimator |
SizeEstimator.add(float[] array)
Add the size of the given array object.
|
SizeEstimator |
SizeEstimator.add(int[] array)
Add the size of the given array object.
|
SizeEstimator |
SizeEstimator.add(long value)
Adjust the total by an arbitrary amount.
|
SizeEstimator |
SizeEstimator.add(long[] array)
Add the size of the given array object.
|
SizeEstimator |
SizeEstimator.add(Object[] array)
Add the size of the given array object.
|
SizeEstimator |
SizeEstimator.add(short[] array)
Add the size of the given array object.
|
SizeEstimator |
SizeEstimator.add(SizeEstimating obj)
Add the size of the given
SizeEstimating object. |
SizeEstimator |
SizeEstimator.addArray(int elementSize,
int length)
Add the size of a non-null array having elements with the given size and the specified length.
|
SizeEstimator |
SizeEstimator.addArrayListField(ArrayList<?> list)
Add the size of an
ArrayList field, assuming ArrayList.trimToSize() has been invoked. |
SizeEstimator |
SizeEstimator.addBooleanField()
Add the size of a primitive
boolean field. |
SizeEstimator |
SizeEstimator.addByteField()
Add the size of a primitive
byte field. |
SizeEstimator |
SizeEstimator.addCharField()
Add the size of a primitive
char field. |
SizeEstimator |
SizeEstimator.addDoubleField()
Add the size of a primitive
double field. |
SizeEstimator |
SizeEstimator.addField(boolean[] array)
Add the size of the given array field.
|
SizeEstimator |
SizeEstimator.addField(byte[] array)
Add the size of the given array field.
|
SizeEstimator |
SizeEstimator.addField(char[] array)
Add the size of the given array field.
|
SizeEstimator |
SizeEstimator.addField(double[] array)
Add the size of the given array field.
|
SizeEstimator |
SizeEstimator.addField(float[] array)
Add the size of the given array field.
|
SizeEstimator |
SizeEstimator.addField(int[] array)
Add the size of the given array field.
|
SizeEstimator |
SizeEstimator.addField(long[] array)
Add the size of the given array field.
|
SizeEstimator |
SizeEstimator.addField(Object[] array)
Add the size of the given array field.
|
SizeEstimator |
SizeEstimator.addField(short[] array)
Add the size of the given array field.
|
SizeEstimator |
SizeEstimator.addField(SizeEstimating field)
Add the size of a
SizeEstimating reference field. |
SizeEstimator |
SizeEstimator.addFloatField()
Add the size of a primitive
float field. |
SizeEstimator |
SizeEstimator.addIntField()
Add the size of a primitive
int field. |
SizeEstimator |
SizeEstimator.addLongField()
Add the size of a primitive
long field. |
SizeEstimator |
SizeEstimator.addObjectOverhead()
Add the basic overhead for any object.
|
SizeEstimator |
SizeEstimator.addReferenceField()
Add the size of an object reference field.
|
SizeEstimator |
SizeEstimator.addShortField()
Add the size of a primitive
short field. |
SizeEstimator |
SizeEstimator.addTreeMapField(TreeMap<?,?> map)
Add the size of a
TreeMap field. |
SizeEstimator |
SizeEstimator.addTreeSetField(TreeSet<?> set)
Add the size of a
TreeSet field. |
| Modifier and Type | Method and Description |
|---|---|
void |
SizeEstimating.addTo(SizeEstimator estimator)
Add the estimated size of this instance (in bytes) to the given estimator.
|
Copyright © 2016. All rights reserved.