@ThreadSafe public interface Meta<T>
Modifier and Type | Method and Description |
---|---|
Substance[] |
applyTo(MetaCollection collection)
Invoked to register the meta tag
|
Meta<T> |
decodeMeta(T instance,
byte[] data)
Creates a new meta value containing the decoded data provided
|
byte[] |
encodeMeta()
Transforms the data into a byte which can be represented in a block data byte
|
Meta<T> |
make()
Make a new instance of this meta object
|
Meta<T> decodeMeta(T instance, byte[] data)
instance
- the data owner which the value will be applied upondata
- the databyte[] encodeMeta()
Substance[] applyTo(MetaCollection collection)
collection
- the collection which will be used to hold this meta typeCopyright © 2016. All rights reserved.