public class FixedMetadataValue extends LazyMetadataValue
This class extends LazyMetadataValue for historical reasons, even though it overrides all the implementation methods. it is possible that in the future that the inheritance hierarchy may change.
LazyMetadataValue.CacheStrategyowningPlugin| Constructor and Description |
|---|
FixedMetadataValue(Plugin owningPlugin,
Object value)
Initializes a FixedMetadataValue with an Object
|
| Modifier and Type | Method and Description |
|---|---|
void |
invalidate()
Invalidates this metadata item, forcing it to recompute when next
accessed.
|
Object |
value()
Fetches the value of this metadata item.
|
asBoolean, asByte, asDouble, asFloat, asInt, asLong, asShort, asString, getOwningPluginclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasBoolean, asByte, asDouble, asFloat, asInt, asLong, asShort, asString, getOwningPluginpublic void invalidate()
MetadataValueinvalidate in interface MetadataValueinvalidate in class LazyMetadataValuepublic Object value()
MetadataValuevalue in interface MetadataValuevalue in class LazyMetadataValueCopyright © 2016. All rights reserved.