Interface DataWriter.Serializer<T>

All Superinterfaces:
BiConsumer<T,DataOutput>
All Known Subinterfaces:
DataInterpreter<T>
Enclosing class:
DataWriter<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DataWriter.Serializer<T> extends BiConsumer<T,DataOutput>
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(T data, DataOutput output)
     
    void
    serialize(T data, DataOutput output)
     

    Methods inherited from interface java.util.function.BiConsumer

    andThen