public class MetadataDictionary extends Object
| Constructor and Description |
|---|
MetadataDictionary() |
| Modifier and Type | Method and Description |
|---|---|
static MetadataDictionary |
deserialize(io.netty.buffer.ByteBuf buf) |
boolean |
equals(Object o) |
Optional |
get(MetadataConstants type) |
static MetadataConstants.Type |
getType(Object o) |
int |
hashCode() |
void |
put(MetadataConstants type,
Object o) |
void |
putAll(MetadataDictionary dictionary) |
String |
toString() |
void |
writeTo(io.netty.buffer.ByteBuf buf) |
public void putAll(MetadataDictionary dictionary)
public Optional get(MetadataConstants type)
public void put(MetadataConstants type, Object o)
public void writeTo(io.netty.buffer.ByteBuf buf)
public static MetadataConstants.Type getType(Object o)
public static MetadataDictionary deserialize(io.netty.buffer.ByteBuf buf)
Copyright © 2017–2019 NukkitX. All rights reserved.