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.CacheStrategy
owningPlugin
コンストラクタと説明 |
---|
FixedMetadataValue(Plugin owningPlugin,
Object value)
Initializes a FixedMetadataValue with an Object
|
修飾子とタイプ | メソッドと説明 |
---|---|
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, getOwningPlugin
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asBoolean, asByte, asDouble, asFloat, asInt, asLong, asShort, asString, getOwningPlugin
public void invalidate()
MetadataValue
invalidate
インタフェース内 MetadataValue
invalidate
クラス内 LazyMetadataValue
public Object value()
MetadataValue
value
インタフェース内 MetadataValue
value
クラス内 LazyMetadataValue
Copyright © 2016. All rights reserved.