| Access | Constructor and Description |
|---|---|
| public | |
| public | ReflectionSizeOf(SizeOfFilter
The filter to apply fieldFilter)Builds a new SizeOf that will filter fields and will cache reflected fields |
| public | ReflectionSizeOf(SizeOfFilter
The filter to apply fieldFilter, boolean Whether to cache reflected fields caching)Builds a new SizeOf that will filter fields |
| Modifier and Type | Method and Description |
|---|---|
| private long | |
| public long | sizeOf(Object
the object to measure the size of obj)Implements abstract net. |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| ReflectionSizeOf | back to summary |
|---|---|
| public ReflectionSizeOf() Builds a new SizeOf that will not filter fields and will cache reflected fields | |
| ReflectionSizeOf | back to summary |
|---|---|
| public ReflectionSizeOf(SizeOfFilter fieldFilter) Builds a new SizeOf that will filter fields and will cache reflected fields
| |
| ReflectionSizeOf | back to summary |
|---|---|
| public ReflectionSizeOf(SizeOfFilter fieldFilter, boolean caching) Builds a new SizeOf that will filter fields
| |
| guessArraySize | back to summary |
|---|---|
| private long guessArraySize(Object obj) | |
| sizeOf | back to summary |
|---|---|
| public long sizeOf(Object obj) Implements abstract net. Doc from net. Calculates the size in memory (heap) of the instance passed in, not navigating the down graph | |