Package com.complexible.common.collect
Class BufferLists
- java.lang.Object
-
- com.complexible.common.collect.BufferLists
-
public class BufferLists extends java.lang.Object
- Since:
- 2.e
- Version:
- 2.e
- Author:
- Evren Sirin
-
-
Constructor Summary
Constructors Constructor Description BufferLists()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> java.util.List<T>
asJavaList(BufferList<T> buffer)
static <T> BufferList<T>
fixed(int theMaxSize)
static <T> BufferList<T>
fixed(T... theArray)
static <T> BufferList<T>
fixedEmpty(T[] theArray)
static <T> BufferList<T>
limited(int theInitSize, int theMaxSize)
static <T> BufferList<T>
limited(T[] theArray, int theMaxSize)
static <T> BufferList<T>
limitedWithExpectedSize(int theExpectedSize)
static <T> BufferList<T>
limitedWithExpectedSize(int theExpectedSize, int maxSize)
static <T> ExtendedBufferList<T>
sortedLimited(int theExpectedSize)
static <T> ExtendedBufferList<T>
sortedUnlimited(int theInitSize)
static <T> BufferList<T>
unlimited(int theInitSize)
static <T> BufferList<T>
unlimited(T[] theArray)
-
-
-
Method Detail
-
fixed
public static <T> BufferList<T> fixed(int theMaxSize)
-
limited
public static <T> BufferList<T> limited(int theInitSize, int theMaxSize)
-
unlimited
public static <T> BufferList<T> unlimited(int theInitSize)
-
fixed
public static <T> BufferList<T> fixed(T... theArray)
-
fixedEmpty
public static <T> BufferList<T> fixedEmpty(T[] theArray)
-
limited
public static <T> BufferList<T> limited(T[] theArray, int theMaxSize)
-
limitedWithExpectedSize
public static <T> BufferList<T> limitedWithExpectedSize(int theExpectedSize)
-
limitedWithExpectedSize
public static <T> BufferList<T> limitedWithExpectedSize(int theExpectedSize, int maxSize)
-
sortedLimited
public static <T> ExtendedBufferList<T> sortedLimited(int theExpectedSize)
-
sortedUnlimited
public static <T> ExtendedBufferList<T> sortedUnlimited(int theInitSize)
-
unlimited
public static <T> BufferList<T> unlimited(T[] theArray)
-
asJavaList
public static <T> java.util.List<T> asJavaList(BufferList<T> buffer)
-
-