WBSCodeMaskCollection
Inheritance: java.lang.Object, java.util.AbstractCollection, java.util.AbstractList, com.aspose.tasks.AbstractList
public class WBSCodeMaskCollection extends AbstractList<WBSCodeMask>
Represents a collection of WBSCodeMask objects.
Methods
Method | Description |
---|---|
add(WBSCodeMask item) | Adds the specified item to this collection. |
add(int index, WBSCodeMask element) | Inserts the specified element at the specified position in this list. |
clear() | Removes all items from this collection. |
contains(Object item) | Returns true if the specified item is found in this collection; otherwise, false. |
get(int index) | {@inheritDoc} |
indexOf(Object item) | |
isReadOnly() | Gets a value indicating whether this collection is read-only; otherwise, false. |
iterator() | Returns an enumerator for this collection. |
remove(int index) | Removes the element at the specified position in this list. |
remove(Object item) | Removes the first occurrence of a specific object from this collection. |
size() | Gets the number of elements contained in this collection. |
toList() | Converts a WBSCodeMaskCollection to a list of WBSCodeMask objects. |
add(WBSCodeMask item)
public boolean add(WBSCodeMask item)
Adds the specified item to this collection.
Parameters:
Parameter | Type | Description |
---|---|---|
item | WBSCodeMask | the specified item to add to this collection. |
Returns: boolean - Returns true is the item was added successfully.
add(int index, WBSCodeMask element)
public void add(int index, WBSCodeMask element)
Inserts the specified element at the specified position in this list.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | {@inheritDoc} |
element | WBSCodeMask | {@inheritDoc} |
clear()
public final void clear()
Removes all items from this collection.
contains(Object item)
public final boolean contains(Object item)
Returns true if the specified item is found in this collection; otherwise, false.
Parameters:
Parameter | Type | Description |
---|---|---|
item | java.lang.Object | the specified item to find. |
Returns: boolean - true if the specified item is found in this collection; otherwise, false.
get(int index)
public WBSCodeMask get(int index)
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | {@inheritDoc} |
Returns: WBSCodeMask - {@inheritDoc}
indexOf(Object item)
public final int indexOf(Object item)
Parameters:
Parameter | Type | Description |
---|---|---|
item | java.lang.Object |
Returns: int
isReadOnly()
public final boolean isReadOnly()
Gets a value indicating whether this collection is read-only; otherwise, false.
Returns: boolean - a value indicating whether this collection is read-only; otherwise, false.
iterator()
public final Iterator<WBSCodeMask> iterator()
Returns an enumerator for this collection.
Returns: java.util.Iterator<com.aspose.tasks.WBSCodeMask> - an enumerator for this collection.
remove(int index)
public WBSCodeMask remove(int index)
Removes the element at the specified position in this list.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | {@inheritDoc} |
Returns: WBSCodeMask - {@inheritDoc}
remove(Object item)
public final boolean remove(Object item)
Removes the first occurrence of a specific object from this collection.
Parameters:
Parameter | Type | Description |
---|---|---|
item | java.lang.Object | the specified object to remove. |
Returns: boolean - true if the specified object was successfully removed from this collection; otherwise, false.
size()
public final int size()
Gets the number of elements contained in this collection.
Returns: int - the number of elements contained in this collection.
toList()
public final List<WBSCodeMask> toList()
Converts a WBSCodeMaskCollection to a list of WBSCodeMask objects.
Returns: java.util.List<com.aspose.tasks.WBSCodeMask> - Generic list of WBSCodeMask objects.