Interface DataCollection.BufferGetter

  • Enclosing class:
    DataCollection
    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 DataCollection.BufferGetter
    Represents a getter for buffer. This is a functional interface whose functional method is newBuffer(int).
    • Method Detail

      • newBuffer

        DataBuffer<?> newBuffer​(int size)
        Instance a buffer with fixed size
        Parameters:
        size - the initialized size of the buffer
        Returns:
        the buffer