public class DebugValueMap extends Object
DebugValue
s.Modifier and Type | Field and Description |
---|---|
private List<DebugValueMap> |
children |
private String |
name |
private static List<DebugValueMap> |
topLevelMaps |
private long[] |
values |
Constructor and Description |
---|
DebugValueMap(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(DebugValueMap map) |
private int |
capacity() |
void |
clearChildren() |
private void |
ensureSize(int index) |
List<DebugValueMap> |
getChildren() |
long |
getCurrentValue(int index) |
String |
getName() |
static List<DebugValueMap> |
getTopLevelMaps() |
void |
group() |
boolean |
hasChildren() |
private void |
mergeWith(DebugValueMap map) |
void |
normalize() |
static void |
registerTopLevel(DebugValueMap map) |
void |
reset() |
void |
setCurrentValue(int index,
long l) |
String |
toString() |
private static final List<DebugValueMap> topLevelMaps
private long[] values
private List<DebugValueMap> children
public DebugValueMap(String name)
public void setCurrentValue(int index, long l)
public long getCurrentValue(int index)
public void clearChildren()
public void reset()
private void ensureSize(int index)
private int capacity()
public void addChild(DebugValueMap map)
public List<DebugValueMap> getChildren()
public boolean hasChildren()
public static void registerTopLevel(DebugValueMap map)
public static List<DebugValueMap> getTopLevelMaps()
public void normalize()
private void mergeWith(DebugValueMap map)
public void group()