public final class FifoBufferFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
NORMALIZED_BASE_INDEX |
Constructor and Description |
---|
FifoBufferFactory() |
Modifier and Type | Method and Description |
---|---|
static <T extends java.lang.Comparable<T>> |
create(java.lang.Class<T> type,
int size)
Creates a fifo buffer instance.
|
static <T extends java.lang.Comparable<T>> |
createSmart(java.lang.Class<T> type,
int size)
Creates a fifo buffer instance.
|
public static final int NORMALIZED_BASE_INDEX
public static <T extends java.lang.Comparable<T>> ISciList<T> create(java.lang.Class<T> type, int size)
T
- The type of items to be placed in fifo buffer.type
- The type of items to be placed in fifo buffer.size
- The size of FifoBuffer.public static <T extends java.lang.Comparable<T>> ISmartList<T> createSmart(java.lang.Class<T> type, int size)
T
- The type of items to be placed in fifo buffer.type
- The type of items to be placed in fifo buffer.size
- The size of FifoBuffer.