Package com.aspose.tasks
Class OutlineMaskCollection
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<T>
-
- com.aspose.tasks.OutlineMaskCollection
-
- All Implemented Interfaces:
Iterable<OutlineMask>,Collection<OutlineMask>,List<OutlineMask>
public class OutlineMaskCollection extends AbstractList<T>
Represents a collection of
OutlineMaskobjects.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(OutlineMask item)Adds the specified item to this collection.OutlineMaskget(int index)Returns the element at the specified position in this collection.Iterator<OutlineMask>iterator()Returns an iterator over elements from this collection.OutlineMaskremove(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 boolean add(OutlineMask item)
Adds the specified item to this collection.- Specified by:
addin interfaceCollection<OutlineMask>- Specified by:
addin interfaceList<OutlineMask>- Overrides:
addin classAbstractList<OutlineMask>- Parameters:
item- the specified item to add to the collection.- Returns:
- true if the specified item was added successfully; otherwise, false.
-
get
public OutlineMask get(int index)
Returns the element at the specified position in this collection.- Specified by:
getin interfaceList<OutlineMask>- Specified by:
getin classAbstractList<OutlineMask>- Parameters:
index- specified position to getInternal element at.- Returns:
- the element at the specified position in this collection.
-
iterator
public Iterator<OutlineMask> iterator()
Returns an iterator over elements from this collection.- Specified by:
iteratorin interfaceCollection<OutlineMask>- Specified by:
iteratorin interfaceIterable<OutlineMask>- Specified by:
iteratorin interfaceList<OutlineMask>- Overrides:
iteratorin classAbstractList<OutlineMask>- Returns:
- an iterator over elements from this collection.
-
remove
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.- Specified by:
removein interfaceList<OutlineMask>- Overrides:
removein classAbstractList<OutlineMask>- 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<OutlineMask>- Specified by:
sizein interfaceList<OutlineMask>- Specified by:
sizein classAbstractCollection<OutlineMask>- Returns:
- the number of elements contained in this collection.
-
sort
public void sort(Comparator<? super T> c)
- Parameters:
c-
-
-