Interface ResourceList.ByteBufferConsumer

  • Enclosing class:
    ResourceList
    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 ResourceList.ByteBufferConsumer
    A FunctionalInterface for consuming the contents of a Resource as a ByteBuffer.
    • Method Detail

      • accept

        void accept​(Resource resource,
                    java.nio.ByteBuffer byteBuffer)
        Consume a Resource as a ByteBuffer.
        Parameters:
        resource - The Resource whose content is reflected in the ByteBuffer.
        byteBuffer - The ByteBuffer mapped to the resource.