public final class LabelValue extends SharedObject<LabelValue> implements Value
Constructor and Description |
---|
LabelValue(LabelValue other) |
Modifier and Type | Method and Description |
---|---|
Value |
copy() |
static java.util.List<LabelValue> |
copyAll(java.util.List<LabelValue> labelValues) |
java.math.BigInteger |
getAddress() |
Label |
getLabel() |
java.lang.String |
getName() |
java.lang.String |
getSuffix() |
java.math.BigInteger |
getValue() |
boolean |
hasAddress() |
LabelValue |
newCopy()
Creates a new full copy of the object.
|
static LabelValue |
newKnown(Label label,
java.math.BigInteger address) |
static LabelValue |
newLazy() |
static LabelValue |
newUnknown(Label label) |
void |
setAddress(java.math.BigInteger value) |
void |
setLabel(Label value) |
void |
setSuffix(java.lang.String suffix) |
java.lang.String |
toString() |
freeSharedCopies, getCopy, publishSharedCopy, sharedCopy, sharedCopyAll
public LabelValue(LabelValue other)
public static LabelValue newLazy()
public static LabelValue newUnknown(Label label)
public static LabelValue newKnown(Label label, java.math.BigInteger address)
public LabelValue newCopy()
SharedObject
SharedObject.SharedObject(SharedObject)
copy constructor in order to publish a shared copy.newCopy
in class SharedObject<LabelValue>
public static java.util.List<LabelValue> copyAll(java.util.List<LabelValue> labelValues)
public java.lang.String getName()
public Label getLabel()
public void setLabel(Label value)
public java.math.BigInteger getAddress()
public void setAddress(java.math.BigInteger value)
public boolean hasAddress()
public java.lang.String getSuffix()
public void setSuffix(java.lang.String suffix)
public java.lang.String toString()
toString
in class java.lang.Object