Contents
- Description
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- getKey()
- getNow(BsonDocument)
- getNow(BsonDocument, ExtraInfo)
- getOrNull(BsonDocument)
- getOrNull(BsonDocument, ExtraInfo)
- get(BsonDocument)
- get(BsonDocument, ExtraInfo)
- getOrDefault(BsonDocument, ExtraInfo, T)
- getAndInherit(BsonDocument, T, ExtraInfo)
- put(BsonDocument, T)
- put(BsonDocument, T, ExtraInfo)
- getChildCodec()
- isRequired()
- toString()
Class KeyedCodec<T>
java.lang.Object
com.hypixel.hytale.codec.KeyedCodec<T>
- Since:
- 30/6/17.
- Version:
- 1.0
-
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 TypeMethodDescriptionget(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()
-
Constructor Details
-
KeyedCodec
-
KeyedCodec
-
KeyedCodec
@Deprecated public KeyedCodec(@Nonnull String key, Codec<T> codec, boolean required, boolean bypassCaseCheck) Deprecated.This method only exists to support legacy systems and systems outside of Hytale.
-
-
Method Details
-
getKey
-
getNow
Deprecated. -
getNow
-
getOrNull
Deprecated. -
getOrNull
-
get
Deprecated. -
get
-
getOrDefault
-
getAndInherit
-
put
Deprecated. -
put
-
getChildCodec
-
isRequired
public boolean isRequired() -
toString
-