public final class DefaultStaticProperty extends StaticProperty
StaticProperty
.StaticProperty
Constructor and Description |
---|
DefaultStaticProperty(String id)
Constructs a new DefaultStaticProperty.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
StaticProperty instances must have a
String identifier that is unique and constant
for that shape. |
compareAndExchangeBoolean, compareAndExchangeByte, compareAndExchangeChar, compareAndExchangeDouble, compareAndExchangeFloat, compareAndExchangeInt, compareAndExchangeLong, compareAndExchangeObject, compareAndExchangeShort, compareAndSwapBoolean, compareAndSwapByte, compareAndSwapChar, compareAndSwapDouble, compareAndSwapFloat, compareAndSwapInt, compareAndSwapLong, compareAndSwapObject, compareAndSwapShort, getAndAddInt, getAndAddLong, getAndSetInt, getAndSetLong, getAndSetObject, getBoolean, getBooleanVolatile, getByte, getByteVolatile, getChar, getCharVolatile, getDouble, getDoubleVolatile, getFloat, getFloatVolatile, getInt, getIntVolatile, getLong, getLongVolatile, getObject, getObjectVolatile, getShort, getShortVolatile, setBoolean, setBooleanVolatile, setByte, setByteVolatile, setChar, setCharVolatile, setDouble, setDoubleVolatile, setFloat, setFloatVolatile, setInt, setIntVolatile, setLong, setLongVolatile, setObject, setObjectVolatile, setShort, setShortVolatile
public DefaultStaticProperty(String id)
id
- the id of the static property, which must be immutable and unique for a given
shape.StaticProperty
public String getId()
String
identifier that is unique and constant
for that shape. Subtypes of StaticProperty must make sure that the value returned by this
method is constant in time.getId
in class StaticProperty