public abstract class DebugValue extends Object implements Comparable<DebugValue>
DebugValue
instance.Modifier and Type | Field and Description |
---|---|
private boolean |
conditional |
private int |
index |
private String |
name |
Modifier | Constructor and Description |
---|---|
protected |
DebugValue(String name,
boolean conditional) |
Modifier and Type | Method and Description |
---|---|
protected void |
addToCurrentValue(long value) |
int |
compareTo(DebugValue o) |
private void |
ensureInitialized() |
long |
getCurrentValue() |
int |
getIndex()
Gets the globally unique index for the value represented by this object.
|
String |
getName()
Gets the globally unique name for the value represented by this object.
|
boolean |
isConditional() |
void |
setConditional(boolean flag) |
protected void |
setCurrentValue(long l) |
String |
toString() |
abstract String |
toString(long value) |
private int index
private boolean conditional
protected DebugValue(String name, boolean conditional)
public long getCurrentValue()
protected void setCurrentValue(long l)
public void setConditional(boolean flag)
public boolean isConditional()
private void ensureInitialized()
protected void addToCurrentValue(long value)
public int getIndex()
public String getName()
public int compareTo(DebugValue o)
compareTo
in interface Comparable<DebugValue>