Package com.aspose.tasks
Class OutlineValueCollection
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<T>
-
- com.aspose.tasks.OutlineValueCollection
-
- All Implemented Interfaces:
Iterable<OutlineValue>,Collection<OutlineValue>,List<OutlineValue>
public class OutlineValueCollection extends AbstractList<T>
Represents a collection of
OutlineValueobjects.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(OutlineValue item)Adds the specified item to this collection.OutlineValueget(int index)Returns the element at the specified position in this collection.Iterator<OutlineValue>iterator()Returns an iterator over elements from this collection.OutlineValueremove(int index)Removes the element at the specified position in this collection and returns the element that was removed from the collection.intsize()Gets the number of elements contained in this collection.voidsort(Comparator<? super T> c)-
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
add
public final boolean add(OutlineValue item)
Adds the specified item to this collection.
- Specified by:
addin interfaceCollection<OutlineValue>- Specified by:
addin interfaceList<OutlineValue>- Overrides:
addin classAbstractList<OutlineValue>- Parameters:
item- the specified item to add to this collection.- Returns:
- true if the specified item was added successfully; otherwise, false.
-
get
public final OutlineValue get(int index)
Returns the element at the specified position in this collection.- Specified by:
getin interfaceList<OutlineValue>- Specified by:
getin classAbstractList<OutlineValue>- Parameters:
index- specified position to getInternal element at.- Returns:
- the element at the specified position in this collection.
-
iterator
public Iterator<OutlineValue> iterator()
Returns an iterator over elements from this collection.- Specified by:
iteratorin interfaceCollection<OutlineValue>- Specified by:
iteratorin interfaceIterable<OutlineValue>- Specified by:
iteratorin interfaceList<OutlineValue>- Overrides:
iteratorin classAbstractList<OutlineValue>- Returns:
- an iterator over elements from this collection.
-
remove
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.- Specified by:
removein interfaceList<OutlineValue>- Overrides:
removein classAbstractList<OutlineValue>- Parameters:
index- the specified position to remove the element at.- Returns:
- the element that was removed from the collection.
-
size
public final int size()
Gets the number of elements contained in this collection.
- Specified by:
sizein interfaceCollection<OutlineValue>- Specified by:
sizein interfaceList<OutlineValue>- Specified by:
sizein classAbstractCollection<OutlineValue>- Returns:
- the number of elements contained in this collection.
-
sort
public void sort(Comparator<? super T> c)
- Parameters:
c-
-
-