public static class IncrementalObjectSizeEstimator.ObjectEstimator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
directSize |
| Constructor and Description |
|---|
ObjectEstimator(boolean isFromClass) |
| Modifier and Type | Method and Description |
|---|---|
int |
estimate(Object obj,
HashMap<Class<?>,IncrementalObjectSizeEstimator.ObjectEstimator> parent) |
protected int |
estimate(Object obj,
HashMap<Class<?>,IncrementalObjectSizeEstimator.ObjectEstimator> parent,
IdentityHashMap<Object,Boolean> uniqueObjects) |
protected int |
estimateCollectionElements(HashMap<Class<?>,IncrementalObjectSizeEstimator.ObjectEstimator> parent,
Collection<?> c,
Field field,
IdentityHashMap<Object,Boolean> uniqueObjects) |
protected int |
estimateMapElements(HashMap<Class<?>,IncrementalObjectSizeEstimator.ObjectEstimator> parent,
Map<?,?> m,
Field field,
IdentityHashMap<Object,Boolean> uniqueObjects) |
public int estimate(Object obj, HashMap<Class<?>,IncrementalObjectSizeEstimator.ObjectEstimator> parent)
protected int estimate(Object obj, HashMap<Class<?>,IncrementalObjectSizeEstimator.ObjectEstimator> parent, IdentityHashMap<Object,Boolean> uniqueObjects)
protected int estimateCollectionElements(HashMap<Class<?>,IncrementalObjectSizeEstimator.ObjectEstimator> parent, Collection<?> c, Field field, IdentityHashMap<Object,Boolean> uniqueObjects)
protected int estimateMapElements(HashMap<Class<?>,IncrementalObjectSizeEstimator.ObjectEstimator> parent, Map<?,?> m, Field field, IdentityHashMap<Object,Boolean> uniqueObjects)
Copyright © 2018 The Apache Software Foundation. All rights reserved.