OutlineMaskCollection

Inheritance: java.lang.Object, java.util.AbstractCollection, java.util.AbstractList, com.aspose.tasks.AbstractList

public class OutlineMaskCollection extends AbstractList<OutlineMask>

Represents a collection of OutlineMask objects.

Methods

MethodDescription
add(OutlineMask item)Adds the specified item to this collection.
get(int index)Returns the element at the specified position in this collection.
iterator()Returns an iterator over elements from this collection.
remove(int index)Removes the element at the specified position in this collection and returns the element that was removed from the collection.
size()Gets the number of elements contained in this collection.

add(OutlineMask item)

public boolean add(OutlineMask item)

Adds the specified item to this collection.

Parameters:

ParameterTypeDescription
itemOutlineMaskthe specified item to add to the collection.

Returns: boolean - true if the specified item was added successfully; otherwise, false.

get(int index)

public OutlineMask get(int index)

Returns the element at the specified position in this collection.

Parameters:

ParameterTypeDescription
indexintspecified position to getInternal element at.

Returns: OutlineMask - the element at the specified position in this collection.

iterator()

public Iterator<OutlineMask> iterator()

Returns an iterator over elements from this collection.

Returns: java.util.Iterator<com.aspose.tasks.OutlineMask> - an iterator over elements from this collection.

remove(int index)

public OutlineMask remove(int index)

Removes the element at the specified position in this collection and returns the element that was removed from the collection.

Parameters:

ParameterTypeDescription
indexintthe specified position to remove the element at.

Returns: OutlineMask - the element that was removed from the collection.

size()

public final int size()

Gets the number of elements contained in this collection.

Returns: int - the number of elements contained in this collection.