fm.liveswitch.ArrayListExtensions Class Reference

Static Public Member Functions

static< T > int getCount (ArrayList< T > array)
 
static< T > ArrayList< T > getItem (ArrayList< T > array)
 
static< T > void copyTo (ArrayList< T > array, T[] target, int index)
 
static< T > void insert (ArrayList< T > array, int index, T value)
 
static< T > void removeAt (ArrayList< T > array, int index)
 
static< T > ArrayList< T > createArray (T[] elements)
 
static< T > ArrayList< T > createArray (Iterable< T > elements)
 
static< T > void addRange (ArrayList< T > array, Iterable< T > elements)
 
static< T > void addRange (ArrayList< T > array, T[] elements)
 
static< T > ArrayList< T > getRange (ArrayList< T > array, int index, int count)
 
static< T > void insertRange (ArrayList< T > array, int index, Iterable< T > elements)
 
static< T > void insertRange (ArrayList< T > array, int index, T[] elements)
 
static< T > void removeRange (ArrayList< T > array, int index, int count)
 
static< T > Enumeration< T > getEnumerator (final ArrayList< T > array)
 

Member Function Documentation

◆ addRange() [1/2]

static <T> void fm.liveswitch.ArrayListExtensions.addRange ( ArrayList< T >  array,
Iterable< T >  elements 
)
static

◆ addRange() [2/2]

static <T> void fm.liveswitch.ArrayListExtensions.addRange ( ArrayList< T >  array,
T[]  elements 
)
static

◆ copyTo()

static <T> void fm.liveswitch.ArrayListExtensions.copyTo ( ArrayList< T >  array,
T[]  target,
int  index 
)
static

◆ createArray() [1/2]

static <T> ArrayList<T> fm.liveswitch.ArrayListExtensions.createArray ( Iterable< T >  elements)
static

◆ createArray() [2/2]

static <T> ArrayList<T> fm.liveswitch.ArrayListExtensions.createArray ( T[]  elements)
static

◆ getCount()

static <T> int fm.liveswitch.ArrayListExtensions.getCount ( ArrayList< T >  array)
static

◆ getEnumerator()

static <T> Enumeration<T> fm.liveswitch.ArrayListExtensions.getEnumerator ( final ArrayList< T >  array)
static

◆ getItem()

static <T> ArrayList<T> fm.liveswitch.ArrayListExtensions.getItem ( ArrayList< T >  array)
static

◆ getRange()

static <T> ArrayList<T> fm.liveswitch.ArrayListExtensions.getRange ( ArrayList< T >  array,
int  index,
int  count 
)
static

◆ insert()

static <T> void fm.liveswitch.ArrayListExtensions.insert ( ArrayList< T >  array,
int  index,
value 
)
static

◆ insertRange() [1/2]

static <T> void fm.liveswitch.ArrayListExtensions.insertRange ( ArrayList< T >  array,
int  index,
Iterable< T >  elements 
)
static

◆ insertRange() [2/2]

static <T> void fm.liveswitch.ArrayListExtensions.insertRange ( ArrayList< T >  array,
int  index,
T[]  elements 
)
static

◆ removeAt()

static <T> void fm.liveswitch.ArrayListExtensions.removeAt ( ArrayList< T >  array,
int  index 
)
static

◆ removeRange()

static <T> void fm.liveswitch.ArrayListExtensions.removeRange ( ArrayList< T >  array,
int  index,
int  count 
)
static