Class DocumentContainingCodec<T>

java.lang.Object
com.hypixel.hytale.codec.function.BsonFunctionCodec<T>
com.hypixel.hytale.codec.DocumentContainingCodec<T>
All Implemented Interfaces:
Codec<T>, RawJsonCodec<T>, SchemaConvertable<T>, WrappedCodec<T>

@Deprecated public class DocumentContainingCodec<T> extends BsonFunctionCodec<T>
Deprecated.
  • Constructor Details

    • DocumentContainingCodec

      public DocumentContainingCodec(@Nonnull BuilderCodec<T> codec, @Nonnull BiConsumer<T,org.bson.BsonDocument> setter, @Nonnull Function<T,org.bson.BsonDocument> getter)
      Deprecated.