Class BufferLists


  • public class BufferLists
    extends java.lang.Object
    Since:
    2.e
    Version:
    2.e
    Author:
    Evren Sirin
    • Constructor Detail

      • BufferLists

        public BufferLists()
    • 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)
        Creates a new List instance backed by the same array as the given BufferList.