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