DayTypeCollection
Inheritance: java.lang.Object, java.util.AbstractCollection, java.util.AbstractList, com.aspose.tasks.AbstractList
public class DayTypeCollection extends AbstractList<Integer>
Represents a collection of DayType
objects.
Methods
Method | Description |
---|---|
add(Integer item) | |
clear() | Removes all items from this collection. |
contains(int item) | Returns true if the specified item is found in this collection; otherwise, false. |
copyTo(Integer[] array, int arrayIndex) | Copies the elements of this collection to the specified array, starting at the specified array index. |
get(int index) | |
iterator() | |
remove(int index) | |
set(int index, Integer dayType) | |
size() |
add(Integer item)
public boolean add(Integer item)
Parameters:
Parameter | Type | Description |
---|---|---|
item | java.lang.Integer |
Returns: boolean
clear()
public final void clear()
Removes all items from this collection.
contains(int item)
public final boolean contains(int item)
Returns true if the specified item is found in this collection; otherwise, false.
Parameters:
Parameter | Type | Description |
---|---|---|
item | int | the specified item to find. |
Returns: boolean - true if the specified item is found in this collection; otherwise, false.
copyTo(Integer[] array, int arrayIndex)
public void copyTo(Integer[] array, int arrayIndex)
Copies the elements of this collection to the specified array, starting at the specified array index.
Parameters:
Parameter | Type | Description |
---|---|---|
array | java.lang.Integer[] | the specified one-dimensional array to copy elements to |
arrayIndex | int | the zero-based index of the specified array at which copying begins. |
get(int index)
public Integer get(int index)
Parameters:
Parameter | Type | Description |
---|---|---|
index | int |
Returns: java.lang.Integer
iterator()
public Iterator<Integer> iterator()
Returns: java.util.Iterator<java.lang.Integer>
remove(int index)
public Integer remove(int index)
Parameters:
Parameter | Type | Description |
---|---|---|
index | int |
Returns: java.lang.Integer
set(int index, Integer dayType)
public Integer set(int index, Integer dayType)
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | |
dayType | java.lang.Integer |
Returns: java.lang.Integer
size()
public final int size()
Returns: int