|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.objects.AbstractObjectCollection
it.unimi.dsi.fastutil.Collections.EmptyCollection
it.unimi.dsi.fastutil.Lists.EmptyList
An immutable class representing the empty list and implementing all type-specific list interfaces.
This class may be useful to implement your own in case you subclass a type-specific list.
Field Summary | |
static long |
serialVersionUID
|
Method Summary | |
boolean |
add(boolean k)
|
boolean |
add(byte k)
|
boolean |
add(char k)
|
boolean |
add(double k)
|
boolean |
add(float k)
|
boolean |
add(int k)
|
void |
add(int i,
boolean k)
|
void |
add(int i,
byte k)
|
void |
add(int i,
char k)
|
void |
add(int i,
double k)
|
void |
add(int i,
float k)
|
void |
add(int i,
int k)
|
void |
add(int i,
long k)
|
void |
add(int i,
Object k)
|
void |
add(int i,
short k)
|
boolean |
add(long k)
|
boolean |
add(Object k)
|
boolean |
add(short k)
|
boolean |
addAll(int i,
BooleanCollection c)
|
boolean |
addAll(int i,
BooleanList c)
|
boolean |
addAll(int i,
ByteCollection c)
|
boolean |
addAll(int i,
ByteList c)
|
boolean |
addAll(int i,
CharCollection c)
|
boolean |
addAll(int i,
CharList c)
|
boolean |
addAll(int i,
Collection c)
|
boolean |
addAll(int i,
DoubleCollection c)
|
boolean |
addAll(int i,
DoubleList c)
|
boolean |
addAll(int i,
FloatCollection c)
|
boolean |
addAll(int i,
FloatList c)
|
boolean |
addAll(int i,
IntCollection c)
|
boolean |
addAll(int i,
IntList c)
|
boolean |
addAll(int i,
List c)
|
boolean |
addAll(int i,
LongCollection c)
|
boolean |
addAll(int i,
LongList c)
|
boolean |
addAll(int i,
ShortCollection c)
|
boolean |
addAll(int i,
ShortList c)
|
void |
addElements(int index,
boolean[] a)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
boolean[] a,
int offset,
int length)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
byte[] a)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
byte[] a,
int offset,
int length)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
char[] a)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
char[] a,
int offset,
int length)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
double[] a)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
double[] a,
int offset,
int length)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
float[] a)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
float[] a,
int offset,
int length)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
int[] a)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
int[] a,
int offset,
int length)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
long[] a)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
long[] a,
int offset,
int length)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
Object[] a)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
Object[] a,
int offset,
int length)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
short[] a)
Add (hopefully quickly) elements to this type-specific list. |
void |
addElements(int index,
short[] a,
int offset,
int length)
Add (hopefully quickly) elements to this type-specific list. |
BooleanListIterator |
booleanListIterator()
Returns a type-specific list iterator on the list. |
BooleanListIterator |
booleanListIterator(int i)
Returns a type-specific list iterator on the list starting at a given index. |
BooleanList |
booleanSubList(int from,
int to)
|
ByteListIterator |
byteListIterator()
Returns a type-specific list iterator on the list. |
ByteListIterator |
byteListIterator(int i)
Returns a type-specific list iterator on the list starting at a given index. |
ByteList |
byteSubList(int from,
int to)
|
CharListIterator |
charListIterator()
Returns a type-specific list iterator on the list. |
CharListIterator |
charListIterator(int i)
Returns a type-specific list iterator on the list starting at a given index. |
CharList |
charSubList(int from,
int to)
|
Object |
clone()
|
int |
compareTo(Object o)
|
DoubleListIterator |
doubleListIterator()
Returns a type-specific list iterator on the list. |
DoubleListIterator |
doubleListIterator(int i)
Returns a type-specific list iterator on the list starting at a given index. |
DoubleList |
doubleSubList(int from,
int to)
|
FloatListIterator |
floatListIterator()
Returns a type-specific list iterator on the list. |
FloatListIterator |
floatListIterator(int i)
Returns a type-specific list iterator on the list starting at a given index. |
FloatList |
floatSubList(int from,
int to)
|
Object |
get(int i)
|
boolean |
getBoolean(int i)
|
byte |
getByte(int i)
|
char |
getChar(int i)
|
double |
getDouble(int i)
|
void |
getElements(int from,
boolean[] a,
int offset,
int length)
Copies (hopefully quickly) elements of this type-specific list into the given array. |
void |
getElements(int from,
byte[] a,
int offset,
int length)
Copies (hopefully quickly) elements of this type-specific list into the given array. |
void |
getElements(int from,
char[] a,
int offset,
int length)
Copies (hopefully quickly) elements of this type-specific list into the given array. |
void |
getElements(int from,
double[] a,
int offset,
int length)
Copies (hopefully quickly) elements of this type-specific list into the given array. |
void |
getElements(int from,
float[] a,
int offset,
int length)
Copies (hopefully quickly) elements of this type-specific list into the given array. |
void |
getElements(int from,
int[] a,
int offset,
int length)
Copies (hopefully quickly) elements of this type-specific list into the given array. |
void |
getElements(int from,
long[] a,
int offset,
int length)
Copies (hopefully quickly) elements of this type-specific list into the given array. |
void |
getElements(int from,
Object[] a,
int offset,
int length)
Copies (hopefully quickly) elements of this type-specific list into the given array. |
void |
getElements(int from,
short[] a,
int offset,
int length)
Copies (hopefully quickly) elements of this type-specific list into the given array. |
float |
getFloat(int i)
|
int |
getInt(int i)
|
long |
getLong(int i)
|
short |
getShort(int i)
|
int |
indexOf(boolean k)
|
int |
indexOf(byte k)
|
int |
indexOf(char k)
|
int |
indexOf(double k)
|
int |
indexOf(float k)
|
int |
indexOf(int k)
|
int |
indexOf(long k)
|
int |
indexOf(Object k)
|
int |
indexOf(short k)
|
IntListIterator |
intListIterator()
Returns a type-specific list iterator on the list. |
IntListIterator |
intListIterator(int i)
Returns a type-specific list iterator on the list starting at a given index. |
IntList |
intSubList(int from,
int to)
|
ByteBidirectionalIterator |
iterator(int i)
|
int |
lastIndexOf(boolean k)
|
int |
lastIndexOf(byte k)
|
int |
lastIndexOf(char k)
|
int |
lastIndexOf(double k)
|
int |
lastIndexOf(float k)
|
int |
lastIndexOf(int k)
|
int |
lastIndexOf(long k)
|
int |
lastIndexOf(Object k)
|
int |
lastIndexOf(short k)
|
ListIterator |
listIterator()
|
ListIterator |
listIterator(int i)
|
LongListIterator |
longListIterator()
Returns a type-specific list iterator on the list. |
LongListIterator |
longListIterator(int i)
Returns a type-specific list iterator on the list starting at a given index. |
LongList |
longSubList(int from,
int to)
|
ObjectListIterator |
objectListIterator()
Returns a type-specific list iterator on the list. |
ObjectListIterator |
objectListIterator(int i)
Returns a type-specific list iterator on the list starting at a given index. |
ObjectList |
objectSubList(int from,
int to)
|
ObjectListIterator |
referenceListIterator()
|
ReferenceList |
referenceSubList(int from,
int to)
|
Object |
remove(int k)
|
boolean |
remove(Object k)
|
boolean |
removeBoolean(int k)
|
byte |
removeByte(int k)
|
char |
removeChar(int k)
|
double |
removeDouble(int k)
|
void |
removeElements(int from,
int to)
Removes (hopefully quickly) elements of this type-specific list. |
float |
removeFloat(int k)
|
int |
removeInt(int k)
|
long |
removeLong(int k)
|
short |
removeShort(int k)
|
boolean |
set(int i,
boolean k)
|
byte |
set(int i,
byte k)
|
char |
set(int i,
char k)
|
double |
set(int i,
double k)
|
float |
set(int i,
float k)
|
int |
set(int i,
int k)
|
long |
set(int i,
long k)
|
Object |
set(int i,
Object k)
|
short |
set(int i,
short k)
|
ShortListIterator |
shortListIterator()
Returns a type-specific list iterator on the list. |
ShortListIterator |
shortListIterator(int i)
Returns a type-specific list iterator on the list starting at a given index. |
ShortList |
shortSubList(int from,
int to)
|
void |
size(int s)
Sets the size of this list. |
List |
subList(int from,
int to)
|
Methods inherited from class it.unimi.dsi.fastutil.objects.AbstractObjectCollection |
addAll, containsAll, isEmpty, rem, removeAll, retainAll, toArray, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanList |
addAll |
Methods inherited from interface java.util.List |
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanCollection |
addAll, booleanIterator, contains, containsAll, rem, removeAll, retainAll, toArray, toBooleanArray, toBooleanArray |
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteList |
addAll |
Methods inherited from interface it.unimi.dsi.fastutil.bytes.ByteCollection |
addAll, byteIterator, contains, containsAll, rem, removeAll, retainAll, toArray, toByteArray, toByteArray |
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortList |
addAll |
Methods inherited from interface it.unimi.dsi.fastutil.shorts.ShortCollection |
addAll, contains, containsAll, rem, removeAll, retainAll, shortIterator, toArray, toShortArray, toShortArray |
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntList |
addAll |
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntCollection |
addAll, contains, containsAll, intIterator, rem, removeAll, retainAll, toArray, toIntArray, toIntArray |
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongList |
addAll |
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection |
addAll, contains, containsAll, longIterator, rem, removeAll, retainAll, toArray, toLongArray, toLongArray |
Methods inherited from interface it.unimi.dsi.fastutil.chars.CharList |
addAll |
Methods inherited from interface it.unimi.dsi.fastutil.chars.CharCollection |
addAll, charIterator, contains, containsAll, rem, removeAll, retainAll, toArray, toCharArray, toCharArray |
Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatList |
addAll |
Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatCollection |
addAll, contains, containsAll, floatIterator, rem, removeAll, retainAll, toArray, toFloatArray, toFloatArray |
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleList |
addAll |
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleCollection |
addAll, contains, containsAll, doubleIterator, rem, removeAll, retainAll, toArray, toDoubleArray, toDoubleArray |
Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectCollection |
objectIterator |
Methods inherited from interface it.unimi.dsi.fastutil.objects.ReferenceCollection |
objectIterator |
Field Detail |
public static final long serialVersionUID
Method Detail |
public boolean add(Object k)
add
in interface List
add
in class AbstractObjectCollection
public boolean remove(Object k)
remove
in interface List
remove
in class AbstractObjectCollection
public boolean add(boolean k)
add
in interface BooleanCollection
add
in class Collections.EmptyCollection
public boolean add(byte k)
add
in interface ByteCollection
add
in class Collections.EmptyCollection
public boolean add(char k)
add
in interface CharCollection
add
in class Collections.EmptyCollection
public boolean add(short k)
add
in interface ShortCollection
add
in class Collections.EmptyCollection
public boolean add(int k)
add
in interface IntCollection
add
in class Collections.EmptyCollection
public boolean add(long k)
add
in interface LongCollection
add
in class Collections.EmptyCollection
public boolean add(float k)
add
in interface FloatCollection
add
in class Collections.EmptyCollection
public boolean add(double k)
add
in interface DoubleCollection
add
in class Collections.EmptyCollection
public void add(int i, Object k)
add
in interface List
public void add(int i, boolean k)
add
in interface BooleanList
List.add(int,Object)
public void add(int i, byte k)
add
in interface ByteList
List.add(int,Object)
public void add(int i, char k)
add
in interface CharList
List.add(int,Object)
public void add(int i, short k)
add
in interface ShortList
List.add(int,Object)
public void add(int i, int k)
add
in interface IntList
List.add(int,Object)
public void add(int i, long k)
add
in interface LongList
List.add(int,Object)
public void add(int i, float k)
add
in interface FloatList
List.add(int,Object)
public void add(int i, double k)
add
in interface DoubleList
List.add(int,Object)
public Object set(int i, Object k)
set
in interface List
public boolean set(int i, boolean k)
set
in interface BooleanList
List.set(int,Object)
public byte set(int i, byte k)
set
in interface ByteList
List.set(int,Object)
public char set(int i, char k)
set
in interface CharList
List.set(int,Object)
public short set(int i, short k)
set
in interface ShortList
List.set(int,Object)
public int set(int i, int k)
set
in interface IntList
List.set(int,Object)
public long set(int i, long k)
set
in interface LongList
List.set(int,Object)
public float set(int i, float k)
set
in interface FloatList
List.set(int,Object)
public double set(int i, double k)
set
in interface DoubleList
List.set(int,Object)
public Object get(int i)
get
in interface List
public boolean getBoolean(int i)
getBoolean
in interface BooleanList
List.get(int)
public byte getByte(int i)
getByte
in interface ByteList
List.get(int)
public char getChar(int i)
getChar
in interface CharList
List.get(int)
public short getShort(int i)
getShort
in interface ShortList
List.get(int)
public int getInt(int i)
getInt
in interface IntList
List.get(int)
public long getLong(int i)
getLong
in interface LongList
List.get(int)
public float getFloat(int i)
getFloat
in interface FloatList
List.get(int)
public double getDouble(int i)
getDouble
in interface DoubleList
List.get(int)
public int indexOf(Object k)
indexOf
in interface List
public int indexOf(boolean k)
indexOf
in interface BooleanList
List.indexOf(Object)
public int indexOf(byte k)
indexOf
in interface ByteList
List.indexOf(Object)
public int indexOf(char k)
indexOf
in interface CharList
List.indexOf(Object)
public int indexOf(short k)
indexOf
in interface ShortList
List.indexOf(Object)
public int indexOf(int k)
indexOf
in interface IntList
List.indexOf(Object)
public int indexOf(long k)
indexOf
in interface LongList
List.indexOf(Object)
public int indexOf(float k)
indexOf
in interface FloatList
List.indexOf(Object)
public int indexOf(double k)
indexOf
in interface DoubleList
List.indexOf(Object)
public int lastIndexOf(Object k)
lastIndexOf
in interface List
public int lastIndexOf(boolean k)
lastIndexOf
in interface BooleanList
List.lastIndexOf(Object)
public int lastIndexOf(byte k)
lastIndexOf
in interface ByteList
List.lastIndexOf(Object)
public int lastIndexOf(char k)
lastIndexOf
in interface CharList
List.lastIndexOf(Object)
public int lastIndexOf(short k)
lastIndexOf
in interface ShortList
List.lastIndexOf(Object)
public int lastIndexOf(int k)
lastIndexOf
in interface IntList
List.lastIndexOf(Object)
public int lastIndexOf(long k)
lastIndexOf
in interface LongList
List.lastIndexOf(Object)
public int lastIndexOf(float k)
lastIndexOf
in interface FloatList
List.lastIndexOf(Object)
public int lastIndexOf(double k)
lastIndexOf
in interface DoubleList
List.lastIndexOf(Object)
public boolean addAll(int i, Collection c)
addAll
in interface List
public boolean addAll(int i, BooleanCollection c)
addAll
in interface BooleanList
List.add(int,Object)
public boolean addAll(int i, ByteCollection c)
addAll
in interface ByteList
List.add(int,Object)
public boolean addAll(int i, CharCollection c)
addAll
in interface CharList
List.add(int,Object)
public boolean addAll(int i, ShortCollection c)
addAll
in interface ShortList
List.add(int,Object)
public boolean addAll(int i, IntCollection c)
addAll
in interface IntList
List.add(int,Object)
public boolean addAll(int i, LongCollection c)
addAll
in interface LongList
List.add(int,Object)
public boolean addAll(int i, FloatCollection c)
addAll
in interface FloatList
List.add(int,Object)
public boolean addAll(int i, DoubleCollection c)
addAll
in interface DoubleList
List.add(int,Object)
public boolean addAll(int i, List c)
public boolean addAll(int i, BooleanList c)
addAll
in interface BooleanList
List.add(int,Object)
public boolean addAll(int i, ByteList c)
addAll
in interface ByteList
List.add(int,Object)
public boolean addAll(int i, CharList c)
addAll
in interface CharList
List.add(int,Object)
public boolean addAll(int i, ShortList c)
addAll
in interface ShortList
List.add(int,Object)
public boolean addAll(int i, IntList c)
addAll
in interface IntList
List.add(int,Object)
public boolean addAll(int i, LongList c)
addAll
in interface LongList
List.add(int,Object)
public boolean addAll(int i, FloatList c)
addAll
in interface FloatList
List.add(int,Object)
public boolean addAll(int i, DoubleList c)
addAll
in interface DoubleList
List.add(int,Object)
public Object remove(int k)
remove
in interface List
public boolean removeBoolean(int k)
removeBoolean
in interface BooleanList
List.remove(int)
public byte removeByte(int k)
removeByte
in interface ByteList
List.remove(int)
public char removeChar(int k)
removeChar
in interface CharList
List.remove(int)
public short removeShort(int k)
removeShort
in interface ShortList
List.remove(int)
public int removeInt(int k)
removeInt
in interface IntList
List.remove(int)
public long removeLong(int k)
removeLong
in interface LongList
List.remove(int)
public float removeFloat(int k)
removeFloat
in interface FloatList
List.remove(int)
public double removeDouble(int k)
removeDouble
in interface DoubleList
List.remove(int)
public ByteBidirectionalIterator iterator(int i)
public BooleanListIterator booleanListIterator()
BooleanList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
booleanListIterator
in interface BooleanList
List.listIterator()
public ByteListIterator byteListIterator()
ByteList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
byteListIterator
in interface ByteList
List.listIterator()
public CharListIterator charListIterator()
CharList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
charListIterator
in interface CharList
List.listIterator()
public ShortListIterator shortListIterator()
ShortList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
shortListIterator
in interface ShortList
List.listIterator()
public IntListIterator intListIterator()
IntList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
intListIterator
in interface IntList
List.listIterator()
public LongListIterator longListIterator()
LongList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
longListIterator
in interface LongList
List.listIterator()
public FloatListIterator floatListIterator()
FloatList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
floatListIterator
in interface FloatList
List.listIterator()
public DoubleListIterator doubleListIterator()
DoubleList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
doubleListIterator
in interface DoubleList
List.listIterator()
public ObjectListIterator objectListIterator()
ObjectList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
objectListIterator
in interface ObjectList
List.listIterator()
public ObjectListIterator referenceListIterator()
public ListIterator listIterator()
listIterator
in interface List
public ListIterator listIterator(int i)
listIterator
in interface List
public BooleanListIterator booleanListIterator(int i)
BooleanList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
booleanListIterator
in interface BooleanList
List.listIterator(int)
public ByteListIterator byteListIterator(int i)
ByteList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
byteListIterator
in interface ByteList
List.listIterator(int)
public CharListIterator charListIterator(int i)
CharList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
charListIterator
in interface CharList
List.listIterator(int)
public ShortListIterator shortListIterator(int i)
ShortList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
shortListIterator
in interface ShortList
List.listIterator(int)
public IntListIterator intListIterator(int i)
IntList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
intListIterator
in interface IntList
List.listIterator(int)
public LongListIterator longListIterator(int i)
LongList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
longListIterator
in interface LongList
List.listIterator(int)
public FloatListIterator floatListIterator(int i)
FloatList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
floatListIterator
in interface FloatList
List.listIterator(int)
public DoubleListIterator doubleListIterator(int i)
DoubleList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
doubleListIterator
in interface DoubleList
List.listIterator(int)
public ObjectListIterator objectListIterator(int i)
ObjectList
The iterator returned by the List.listIterator()
method and by this
method are identical; however, using this method you can save a type casting.
objectListIterator
in interface ObjectList
List.listIterator(int)
public List subList(int from, int to)
subList
in interface List
public BooleanList booleanSubList(int from, int to)
booleanSubList
in interface BooleanList
List.subList(int,int)
public ByteList byteSubList(int from, int to)
byteSubList
in interface ByteList
List.subList(int,int)
public CharList charSubList(int from, int to)
charSubList
in interface CharList
List.subList(int,int)
public ShortList shortSubList(int from, int to)
shortSubList
in interface ShortList
List.subList(int,int)
public IntList intSubList(int from, int to)
intSubList
in interface IntList
List.subList(int,int)
public LongList longSubList(int from, int to)
longSubList
in interface LongList
List.subList(int,int)
public FloatList floatSubList(int from, int to)
floatSubList
in interface FloatList
List.subList(int,int)
public DoubleList doubleSubList(int from, int to)
doubleSubList
in interface DoubleList
List.subList(int,int)
public ObjectList objectSubList(int from, int to)
objectSubList
in interface ObjectList
List.subList(int,int)
public ReferenceList referenceSubList(int from, int to)
referenceSubList
in interface ReferenceList
List.subList(int,int)
public void getElements(int from, boolean[] a, int offset, int length)
BooleanList
getElements
in interface BooleanList
from
- the start index (inclusive).a
- the destination array.offset
- the offset into the destination array where to store the first element copied.length
- the number of elements to be copied.public void getElements(int from, byte[] a, int offset, int length)
ByteList
getElements
in interface ByteList
from
- the start index (inclusive).a
- the destination array.offset
- the offset into the destination array where to store the first element copied.length
- the number of elements to be copied.public void getElements(int from, char[] a, int offset, int length)
CharList
getElements
in interface CharList
from
- the start index (inclusive).a
- the destination array.offset
- the offset into the destination array where to store the first element copied.length
- the number of elements to be copied.public void getElements(int from, short[] a, int offset, int length)
ShortList
getElements
in interface ShortList
from
- the start index (inclusive).a
- the destination array.offset
- the offset into the destination array where to store the first element copied.length
- the number of elements to be copied.public void getElements(int from, int[] a, int offset, int length)
IntList
getElements
in interface IntList
from
- the start index (inclusive).a
- the destination array.offset
- the offset into the destination array where to store the first element copied.length
- the number of elements to be copied.public void getElements(int from, long[] a, int offset, int length)
LongList
getElements
in interface LongList
from
- the start index (inclusive).a
- the destination array.offset
- the offset into the destination array where to store the first element copied.length
- the number of elements to be copied.public void getElements(int from, float[] a, int offset, int length)
FloatList
getElements
in interface FloatList
from
- the start index (inclusive).a
- the destination array.offset
- the offset into the destination array where to store the first element copied.length
- the number of elements to be copied.public void getElements(int from, double[] a, int offset, int length)
DoubleList
getElements
in interface DoubleList
from
- the start index (inclusive).a
- the destination array.offset
- the offset into the destination array where to store the first element copied.length
- the number of elements to be copied.public void getElements(int from, Object[] a, int offset, int length)
ObjectList
getElements
in interface ObjectList
from
- the start index (inclusive).a
- the destination array.offset
- the offset into the destination array where to store the first element copied.length
- the number of elements to be copied.public void removeElements(int from, int to)
BooleanList
removeElements
in interface BooleanList
from
- the start index (inclusive).to
- the end index (exclusive).public void addElements(int index, boolean[] a, int offset, int length)
BooleanList
addElements
in interface BooleanList
index
- the index at which to add elements.a
- the array containing the elements.offset
- the offset of the first element to add.length
- the number of elements to add.public void addElements(int index, boolean[] a)
BooleanList
addElements
in interface BooleanList
index
- the index at which to add elements.a
- the array containing the elements.public void addElements(int index, byte[] a, int offset, int length)
ByteList
addElements
in interface ByteList
index
- the index at which to add elements.a
- the array containing the elements.offset
- the offset of the first element to add.length
- the number of elements to add.public void addElements(int index, byte[] a)
ByteList
addElements
in interface ByteList
index
- the index at which to add elements.a
- the array containing the elements.public void addElements(int index, char[] a, int offset, int length)
CharList
addElements
in interface CharList
index
- the index at which to add elements.a
- the array containing the elements.offset
- the offset of the first element to add.length
- the number of elements to add.public void addElements(int index, char[] a)
CharList
addElements
in interface CharList
index
- the index at which to add elements.a
- the array containing the elements.public void addElements(int index, short[] a, int offset, int length)
ShortList
addElements
in interface ShortList
index
- the index at which to add elements.a
- the array containing the elements.offset
- the offset of the first element to add.length
- the number of elements to add.public void addElements(int index, short[] a)
ShortList
addElements
in interface ShortList
index
- the index at which to add elements.a
- the array containing the elements.public void addElements(int index, int[] a, int offset, int length)
IntList
addElements
in interface IntList
index
- the index at which to add elements.a
- the array containing the elements.offset
- the offset of the first element to add.length
- the number of elements to add.public void addElements(int index, int[] a)
IntList
addElements
in interface IntList
index
- the index at which to add elements.a
- the array containing the elements.public void addElements(int index, long[] a, int offset, int length)
LongList
addElements
in interface LongList
index
- the index at which to add elements.a
- the array containing the elements.offset
- the offset of the first element to add.length
- the number of elements to add.public void addElements(int index, long[] a)
LongList
addElements
in interface LongList
index
- the index at which to add elements.a
- the array containing the elements.public void addElements(int index, float[] a, int offset, int length)
FloatList
addElements
in interface FloatList
index
- the index at which to add elements.a
- the array containing the elements.offset
- the offset of the first element to add.length
- the number of elements to add.public void addElements(int index, float[] a)
FloatList
addElements
in interface FloatList
index
- the index at which to add elements.a
- the array containing the elements.public void addElements(int index, double[] a, int offset, int length)
DoubleList
addElements
in interface DoubleList
index
- the index at which to add elements.a
- the array containing the elements.offset
- the offset of the first element to add.length
- the number of elements to add.public void addElements(int index, double[] a)
DoubleList
addElements
in interface DoubleList
index
- the index at which to add elements.a
- the array containing the elements.public void addElements(int index, Object[] a, int offset, int length)
ObjectList
addElements
in interface ObjectList
index
- the index at which to add elements.a
- the array containing the elements.offset
- the offset of the first element to add.length
- the number of elements to add.public void addElements(int index, Object[] a)
ObjectList
addElements
in interface ObjectList
index
- the index at which to add elements.a
- the array containing the elements.public void size(int s)
BooleanList
If the specified size is smaller than the current size, the last elements are
discarded. Otherwise, they are filled with 0/null
/false
.
size
in interface BooleanList
s
- the new size.public int compareTo(Object o)
compareTo
in interface Comparable
public Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |