public abstract class IStateLong extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
currentValue |
protected IEnvironment |
environment |
protected int |
timeStamp |
Constructor and Description |
---|
IStateLong(IEnvironment env,
long i) |
Modifier and Type | Method and Description |
---|---|
void |
_set(long y,
int wstamp)
Modifies the value without storing the former value on the trailing stack.
|
long |
add(long delta)
Deprecated.
|
long |
deepCopy()
Deprecated.
|
long |
get()
Returns the current value.
|
IEnvironment |
getEnvironment()
Deprecated.
|
int |
getTimeStamp()
Deprecated.
|
void |
overrideTimeStamp(int aTimeStamp) |
abstract void |
set(long y)
Modifies the value and stores if needed the former value on the
trailing stack.
|
String |
toString() |
protected final IEnvironment environment
protected long currentValue
protected int timeStamp
public IStateLong(IEnvironment env, long i)
public final long get()
public abstract void set(long y)
@Deprecated public final long add(long delta)
delta
- increment valuepublic void _set(long y, int wstamp)
y
- the new valuewstamp
- the stamp of the world in which the update is performed@Deprecated public final long deepCopy()
@Deprecated public int getTimeStamp()
public void overrideTimeStamp(int aTimeStamp)
@Deprecated public IEnvironment getEnvironment()
Copyright © 2017. All rights reserved.