modCount
Constructor and Description |
---|
Vector4List()
Construct a new
Vector4List |
Vector4List(int capacity)
Construct a new
Vector4List with specified capacity |
Vector4List(List<Vector4> vectors)
Construct a new
Vector4List with default elements |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
Vector4 item) |
boolean |
add(Vector4 item)
Adds an item to the
Vector4List . |
void |
addRange(List<Vector4> vectors)
Add a range of vectors into current list
|
void |
addRange(Vector4List vectors)
Add a range of vectors into current list
|
void |
clear()
Removes all items from the
Vector4List . |
Vector4List |
clone()
Clone the current list
|
boolean |
contains(Object item)
Determines whether the
Vector4List contains a specific value. |
void |
copyTo(Vector4[] array,
int arrayIndex)
Copies the elements of the
Vector4List to an array, starting at a particular array index. |
Vector4 |
get(int index)
Gets the element at the specified index.
|
int |
indexOf(Object item)
Determines the index of a specific item in the
Vector4List . |
boolean |
isReadOnly()
Gets a value indicating whether the
Vector4List is read-only. |
Iterator<Vector4> |
iterator() |
Vector4 |
remove(int index) |
boolean |
remove(Object item)
Removes the first occurrence of a specific object from the
Vector4List . |
Vector4 |
set(int index,
Vector4 value)
Sets the element at the specified index.
|
void |
setCount(int value)
Gets the number of elements contained in the
Vector4List . |
int |
size()
Gets the number of elements contained in the
Vector4List . |
Vector4[] |
toNativeArray() |
addAll, equals, hashCode, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, addAll, containsAll, equals, hashCode, isEmpty, lastIndexOf, listIterator, listIterator, removeAll, replaceAll, retainAll, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public Vector4List()
Vector4List
public Vector4List(int capacity)
Vector4List
with specified capacitypublic Vector4List(List<Vector4> vectors)
Vector4List
with default elementspublic int indexOf(Object item)
Vector4List
.indexOf
in interface List<Vector4>
indexOf
in class AbstractList<Vector4>
item
- The object to locate in the Vector4List
.item
if found in the list; otherwise, -1.public Vector4 get(int index)
public void addRange(List<Vector4> vectors)
vectors
- public void addRange(Vector4List vectors)
vectors
- public boolean add(Vector4 item)
Vector4List
.add
in interface Collection<Vector4>
add
in interface List<Vector4>
add
in class AbstractList<Vector4>
item
- The object to add to the Vector4List
.public void clear()
Vector4List
.clear
in interface Collection<Vector4>
clear
in interface List<Vector4>
clear
in class AbstractList<Vector4>
public boolean contains(Object item)
Vector4List
contains a specific value.contains
in interface Collection<Vector4>
contains
in interface List<Vector4>
contains
in class AbstractCollection<Vector4>
item
- The object to locate in the Vector4List
.item
is found in the Vector4List
; otherwise, false.public void copyTo(Vector4[] array, int arrayIndex)
Vector4List
to an array, starting at a particular array index.array
- The one-dimensional array that is the destination of the elements copied from Vector4List
. The array must have zero-based indexing.arrayIndex
- The zero-based index in array
at which copying begins.public boolean remove(Object item)
Vector4List
.remove
in interface Collection<Vector4>
remove
in interface List<Vector4>
remove
in class AbstractCollection<Vector4>
item
was successfully removed from the Vector4List
; otherwise, false. This method also returns false if item
is not found in the original Vector4List
.public void setCount(int value)
Vector4List
.value
- New valuepublic boolean isReadOnly()
Vector4List
is read-only.Vector4List
is read-only; otherwise, false.public Vector4List clone()
public void add(int index, Vector4 item)
public Vector4 remove(int index)
public Vector4[] toNativeArray()
public int size()
Vector4List
.size
in interface Collection<Vector4>
size
in interface List<Vector4>
size
in class AbstractCollection<Vector4>
Vector4List
.Copyright © 2018. All rights reserved.