Package top.focess.qq.api.command
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 isnewBuffer(int).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataBuffer<?>newBuffer(int size)Instance a buffer with fixed size
-
-
-
Method Detail
-
newBuffer
DataBuffer<?> newBuffer(int size)
Instance a buffer with fixed size- Parameters:
size- the initialized size of the buffer- Returns:
- the buffer
-
-