Package com.hypixel.hytale.codec
Class KeyedCodec<T>
java.lang.Object
com.hypixel.hytale.codec.KeyedCodec<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKeyedCodec(String key, Codec<T> codec) KeyedCodec(String key, Codec<T> codec, boolean required) KeyedCodec(String key, Codec<T> codec, boolean required, boolean bypassCaseCheck) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected Tprotected TdecodeAndInherit(org.bson.BsonValue bsonValue, T parent, ExtraInfo extraInfo) protected org.bson.BsonValueget(org.bson.BsonDocument document) Deprecated.getAndInherit(org.bson.BsonDocument document, T parent, ExtraInfo extraInfo) getKey()getNow(org.bson.BsonDocument document) Deprecated.getOrDefault(org.bson.BsonDocument document, ExtraInfo extraInfo, T def) getOrNull(org.bson.BsonDocument document) Deprecated.booleanvoidDeprecated.voidtoString()
-
Field Details
-
key
-
codec
-
required
private final boolean required
-
-
Constructor Details
-
KeyedCodec
-
KeyedCodec
-
KeyedCodec
@Deprecated public KeyedCodec(@Nonnull String key, Codec<T> codec, boolean required, boolean bypassCaseCheck) Deprecated.
-
-
Method Details