Interface RevisionDataOutput.ElementSerializer<T>

  • Type Parameters:
    T - Type of the element to serialize.
    Enclosing interface:
    RevisionDataOutput
    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 RevisionDataOutput.ElementSerializer<T>
    Defines a Function signature that can serialize an element to a RevisionDataOutput.
    • Method Detail

      • accept

        void accept​(RevisionDataOutput dataOutput,
                    T element)
             throws java.io.IOException
        Throws:
        java.io.IOException