public class SimpleInputRegister extends SynchronizedAbstractRegister implements InputRegister
The setValue() method is synchronized, which ensures atomic access, but no specific access order.
m_Register| Constructor and Description |
|---|
SimpleInputRegister()
Constructs a new SimpleInputRegister instance.
|
SimpleInputRegister(byte b1,
byte b2)
Constructs a new SimpleInputRegister instance.
|
SimpleInputRegister(int value)
Constructs a new SimpleInputRegister instance
with the given value.
|
getValue, setValue, setValue, setValue, toBytes, toShort, toUnsignedShortclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValue, toBytes, toShort, toUnsignedShortpublic SimpleInputRegister()
public SimpleInputRegister(byte b1,
byte b2)
b1 - the first (hi) byte of the word.b2 - the second (low) byte of the word.public SimpleInputRegister(int value)
value - the value of this SimpleInputRegister as int.Copyright © 2017. All rights reserved.