private static class ObjectSizeCache.Entry
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
hash
Stores the hash value.
|
private java.lang.Object |
key
Stores the key (initially the class name, later the Class itself).
|
private ObjectSizeCache.Entry |
next
Stores the next entry.
|
private long |
size
Stores the associated size.
|
| Constructor and Description |
|---|
Entry(int hash,
java.lang.Object key,
long size,
ObjectSizeCache.Entry next)
Creates new entry.
|
private final java.lang.Object key
private long size
private ObjectSizeCache.Entry next
private final int hash
Entry(int hash,
java.lang.Object key,
long size,
ObjectSizeCache.Entry next)
hash - the hash valuekey - the class name or the Classsize - the memory size of the classnext - the next entry