OutlineValueCollection

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

public class OutlineValueCollection extends AbstractList<OutlineValue>

Represents a collection of OutlineValue objects.

Methods

MethodDescription
add(OutlineValue 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(OutlineValue item)

public final boolean add(OutlineValue item)

Adds the specified item to this collection.

Parameters:

ParameterTypeDescription
itemOutlineValuethe specified item to add to this collection.

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

get(int index)

public final OutlineValue get(int index)

Returns the element at the specified position in this collection.

Parameters:

ParameterTypeDescription
indexintspecified position to getInternal element at.

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

iterator()

public Iterator<OutlineValue> iterator()

Returns an iterator over elements from this collection.

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

remove(int index)

public final OutlineValue 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: OutlineValue - 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.