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.math.BigInteger |
getValue() |
boolean |
hasAddress() |
LabelValue |
newCopy()
Creates a new full copy of the object.
|
protected static LabelValue |
newKnown(Label label,
java.math.BigInteger address) |
protected static LabelValue |
newLazy() |
protected static LabelValue |
newUnknown(Label label) |
void |
setAddress(java.math.BigInteger value) |
void |
setLabel(Label value) |
java.lang.String |
toString() |
freeSharedCopies, getCopy, sharedCopy, sharedCopyAllpublic LabelValue(LabelValue other)
protected static LabelValue newLazy()
protected static LabelValue newUnknown(Label label)
protected static LabelValue newKnown(Label label, java.math.BigInteger address)
public LabelValue newCopy()
SharedObjectSharedObject.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 toString()
toString in class java.lang.Object