|
||||||||||
| 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 Listadd in class AbstractObjectCollectionpublic boolean remove(Object k)
remove in interface Listremove in class AbstractObjectCollectionpublic boolean add(boolean k)
add in interface BooleanCollectionadd in class Collections.EmptyCollectionpublic boolean add(byte k)
add in interface ByteCollectionadd in class Collections.EmptyCollectionpublic boolean add(char k)
add in interface CharCollectionadd in class Collections.EmptyCollectionpublic boolean add(short k)
add in interface ShortCollectionadd in class Collections.EmptyCollectionpublic boolean add(int k)
add in interface IntCollectionadd in class Collections.EmptyCollectionpublic boolean add(long k)
add in interface LongCollectionadd in class Collections.EmptyCollectionpublic boolean add(float k)
add in interface FloatCollectionadd in class Collections.EmptyCollectionpublic boolean add(double k)
add in interface DoubleCollectionadd 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 BooleanListList.add(int,Object)
public void add(int i,
byte k)
add in interface ByteListList.add(int,Object)
public void add(int i,
char k)
add in interface CharListList.add(int,Object)
public void add(int i,
short k)
add in interface ShortListList.add(int,Object)
public void add(int i,
int k)
add in interface IntListList.add(int,Object)
public void add(int i,
long k)
add in interface LongListList.add(int,Object)
public void add(int i,
float k)
add in interface FloatListList.add(int,Object)
public void add(int i,
double k)
add in interface DoubleListList.add(int,Object)
public Object set(int i,
Object k)
set in interface List
public boolean set(int i,
boolean k)
set in interface BooleanListList.set(int,Object)
public byte set(int i,
byte k)
set in interface ByteListList.set(int,Object)
public char set(int i,
char k)
set in interface CharListList.set(int,Object)
public short set(int i,
short k)
set in interface ShortListList.set(int,Object)
public int set(int i,
int k)
set in interface IntListList.set(int,Object)
public long set(int i,
long k)
set in interface LongListList.set(int,Object)
public float set(int i,
float k)
set in interface FloatListList.set(int,Object)
public double set(int i,
double k)
set in interface DoubleListList.set(int,Object)public Object get(int i)
get in interface Listpublic boolean getBoolean(int i)
getBoolean in interface BooleanListList.get(int)public byte getByte(int i)
getByte in interface ByteListList.get(int)public char getChar(int i)
getChar in interface CharListList.get(int)public short getShort(int i)
getShort in interface ShortListList.get(int)public int getInt(int i)
getInt in interface IntListList.get(int)public long getLong(int i)
getLong in interface LongListList.get(int)public float getFloat(int i)
getFloat in interface FloatListList.get(int)public double getDouble(int i)
getDouble in interface DoubleListList.get(int)public int indexOf(Object k)
indexOf in interface Listpublic int indexOf(boolean k)
indexOf in interface BooleanListList.indexOf(Object)public int indexOf(byte k)
indexOf in interface ByteListList.indexOf(Object)public int indexOf(char k)
indexOf in interface CharListList.indexOf(Object)public int indexOf(short k)
indexOf in interface ShortListList.indexOf(Object)public int indexOf(int k)
indexOf in interface IntListList.indexOf(Object)public int indexOf(long k)
indexOf in interface LongListList.indexOf(Object)public int indexOf(float k)
indexOf in interface FloatListList.indexOf(Object)public int indexOf(double k)
indexOf in interface DoubleListList.indexOf(Object)public int lastIndexOf(Object k)
lastIndexOf in interface Listpublic int lastIndexOf(boolean k)
lastIndexOf in interface BooleanListList.lastIndexOf(Object)public int lastIndexOf(byte k)
lastIndexOf in interface ByteListList.lastIndexOf(Object)public int lastIndexOf(char k)
lastIndexOf in interface CharListList.lastIndexOf(Object)public int lastIndexOf(short k)
lastIndexOf in interface ShortListList.lastIndexOf(Object)public int lastIndexOf(int k)
lastIndexOf in interface IntListList.lastIndexOf(Object)public int lastIndexOf(long k)
lastIndexOf in interface LongListList.lastIndexOf(Object)public int lastIndexOf(float k)
lastIndexOf in interface FloatListList.lastIndexOf(Object)public int lastIndexOf(double k)
lastIndexOf in interface DoubleListList.lastIndexOf(Object)
public boolean addAll(int i,
Collection c)
addAll in interface List
public boolean addAll(int i,
BooleanCollection c)
addAll in interface BooleanListList.add(int,Object)
public boolean addAll(int i,
ByteCollection c)
addAll in interface ByteListList.add(int,Object)
public boolean addAll(int i,
CharCollection c)
addAll in interface CharListList.add(int,Object)
public boolean addAll(int i,
ShortCollection c)
addAll in interface ShortListList.add(int,Object)
public boolean addAll(int i,
IntCollection c)
addAll in interface IntListList.add(int,Object)
public boolean addAll(int i,
LongCollection c)
addAll in interface LongListList.add(int,Object)
public boolean addAll(int i,
FloatCollection c)
addAll in interface FloatListList.add(int,Object)
public boolean addAll(int i,
DoubleCollection c)
addAll in interface DoubleListList.add(int,Object)
public boolean addAll(int i,
List c)
public boolean addAll(int i,
BooleanList c)
addAll in interface BooleanListList.add(int,Object)
public boolean addAll(int i,
ByteList c)
addAll in interface ByteListList.add(int,Object)
public boolean addAll(int i,
CharList c)
addAll in interface CharListList.add(int,Object)
public boolean addAll(int i,
ShortList c)
addAll in interface ShortListList.add(int,Object)
public boolean addAll(int i,
IntList c)
addAll in interface IntListList.add(int,Object)
public boolean addAll(int i,
LongList c)
addAll in interface LongListList.add(int,Object)
public boolean addAll(int i,
FloatList c)
addAll in interface FloatListList.add(int,Object)
public boolean addAll(int i,
DoubleList c)
addAll in interface DoubleListList.add(int,Object)public Object remove(int k)
remove in interface Listpublic boolean removeBoolean(int k)
removeBoolean in interface BooleanListList.remove(int)public byte removeByte(int k)
removeByte in interface ByteListList.remove(int)public char removeChar(int k)
removeChar in interface CharListList.remove(int)public short removeShort(int k)
removeShort in interface ShortListList.remove(int)public int removeInt(int k)
removeInt in interface IntListList.remove(int)public long removeLong(int k)
removeLong in interface LongListList.remove(int)public float removeFloat(int k)
removeFloat in interface FloatListList.remove(int)public double removeDouble(int k)
removeDouble in interface DoubleListList.remove(int)public ByteBidirectionalIterator iterator(int i)
public BooleanListIterator booleanListIterator()
BooleanListThe 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 BooleanListList.listIterator()public ByteListIterator byteListIterator()
ByteListThe 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 ByteListList.listIterator()public CharListIterator charListIterator()
CharListThe 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 CharListList.listIterator()public ShortListIterator shortListIterator()
ShortListThe 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 ShortListList.listIterator()public IntListIterator intListIterator()
IntListThe 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 IntListList.listIterator()public LongListIterator longListIterator()
LongListThe 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 LongListList.listIterator()public FloatListIterator floatListIterator()
FloatListThe 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 FloatListList.listIterator()public DoubleListIterator doubleListIterator()
DoubleListThe 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 DoubleListList.listIterator()public ObjectListIterator objectListIterator()
ObjectListThe 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 ObjectListList.listIterator()public ObjectListIterator referenceListIterator()
public ListIterator listIterator()
listIterator in interface Listpublic ListIterator listIterator(int i)
listIterator in interface Listpublic BooleanListIterator booleanListIterator(int i)
BooleanListThe 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 BooleanListList.listIterator(int)public ByteListIterator byteListIterator(int i)
ByteListThe 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 ByteListList.listIterator(int)public CharListIterator charListIterator(int i)
CharListThe 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 CharListList.listIterator(int)public ShortListIterator shortListIterator(int i)
ShortListThe 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 ShortListList.listIterator(int)public IntListIterator intListIterator(int i)
IntListThe 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 IntListList.listIterator(int)public LongListIterator longListIterator(int i)
LongListThe 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 LongListList.listIterator(int)public FloatListIterator floatListIterator(int i)
FloatListThe 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 FloatListList.listIterator(int)public DoubleListIterator doubleListIterator(int i)
DoubleListThe 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 DoubleListList.listIterator(int)public ObjectListIterator objectListIterator(int i)
ObjectListThe 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 ObjectListList.listIterator(int)
public List subList(int from,
int to)
subList in interface List
public BooleanList booleanSubList(int from,
int to)
booleanSubList in interface BooleanListList.subList(int,int)
public ByteList byteSubList(int from,
int to)
byteSubList in interface ByteListList.subList(int,int)
public CharList charSubList(int from,
int to)
charSubList in interface CharListList.subList(int,int)
public ShortList shortSubList(int from,
int to)
shortSubList in interface ShortListList.subList(int,int)
public IntList intSubList(int from,
int to)
intSubList in interface IntListList.subList(int,int)
public LongList longSubList(int from,
int to)
longSubList in interface LongListList.subList(int,int)
public FloatList floatSubList(int from,
int to)
floatSubList in interface FloatListList.subList(int,int)
public DoubleList doubleSubList(int from,
int to)
doubleSubList in interface DoubleListList.subList(int,int)
public ObjectList objectSubList(int from,
int to)
objectSubList in interface ObjectListList.subList(int,int)
public ReferenceList referenceSubList(int from,
int to)
referenceSubList in interface ReferenceListList.subList(int,int)
public void getElements(int from,
boolean[] a,
int offset,
int length)
BooleanList
getElements in interface BooleanListfrom - 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 ByteListfrom - 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 CharListfrom - 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 ShortListfrom - 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 IntListfrom - 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 LongListfrom - 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 FloatListfrom - 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 DoubleListfrom - 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 ObjectListfrom - 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 BooleanListfrom - the start index (inclusive).to - the end index (exclusive).
public void addElements(int index,
boolean[] a,
int offset,
int length)
BooleanList
addElements in interface BooleanListindex - 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 BooleanListindex - 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 ByteListindex - 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 ByteListindex - 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 CharListindex - 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 CharListindex - 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 ShortListindex - 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 ShortListindex - 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 IntListindex - 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 IntListindex - 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 LongListindex - 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 LongListindex - 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 FloatListindex - 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 FloatListindex - 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 DoubleListindex - 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 DoubleListindex - 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 ObjectListindex - 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 ObjectListindex - the index at which to add elements.a - the array containing the elements.public void size(int s)
BooleanListIf 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 BooleanLists - the new size.public int compareTo(Object o)
compareTo in interface Comparablepublic Object clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||