Class ClassSizeCatalog
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,int[]>
Map from class names to size coefficients. The size coefficients can be
used to estimate how much memory an instance of the class takes.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ClassSizeCatalogThe singleton instance of this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static ClassSizeCatalogGet the singletonClassSizeCataloginstance.Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
-
Field Details
-
INSTANCE
The singleton instance of this class.
-
-
Constructor Details
-
ClassSizeCatalog
ClassSizeCatalog()
-
-
Method Details
-
getInstance
Get the singletonClassSizeCataloginstance.
-