brbrain
Class BRBrain.CachedValue

java.lang.Object
  extended by brbrain.BRBrain.CachedValue
Enclosing class:
BRBrain

public class BRBrain.CachedValue
extends java.lang.Object

a cached register value


Field Summary
protected  long lastUpdateNS
          the last update nanotime
protected  int value
          the cached value
 
Constructor Summary
BRBrain.CachedValue()
           
 
Method Summary
 long getLastUpdateNS()
          get the last update nanotime
 int getValue()
          get the cached value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected int value
the cached value


lastUpdateNS

protected long lastUpdateNS
the last update nanotime

Constructor Detail

BRBrain.CachedValue

public BRBrain.CachedValue()
Method Detail

getValue

public int getValue()
get the cached value


getLastUpdateNS

public long getLastUpdateNS()
get the last update nanotime