public class SplitPartCollection extends AbstractList<SplitPart>
Collection that represents the portions of a task.
Modifier and Type | Method and Description |
---|---|
SplitPart |
get_Item(int index)
Deprecated.
Use get(int) instead.
|
SplitPart |
get(int index)
Retrieves a task's split part at the given index.
|
int |
getCount()
Deprecated.
Use size() instead.
|
int |
size()
Gets the number of parts in the collection.
|
SplitPart[] |
toArray()
Copies all parts from the collection to a new array.
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toString
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray
parallelStream, removeIf, stream
@Deprecated public int getCount()
Gets the number of parts in the collection.
Read only int
.
public SplitPart get(int index)
Retrieves a task's split part at the given index.
@Deprecated public SplitPart get_Item(int index)
Retrieves a task's split part at the given index.
index
- zero-based part index.Aspose.Tasks.SplitPart
object; null if the index is outside array's boundariespublic int size()
Gets the number of parts in the collection.
Read only int
.
size
in interface Collection<SplitPart>
size
in interface List<SplitPart>
size
in class AbstractCollection<SplitPart>
public SplitPart[] toArray()
Copies all parts from the collection to a new array.
toArray
in interface Collection<SplitPart>
toArray
in interface List<SplitPart>
toArray
in class AbstractCollection<SplitPart>
Aspose.Tasks.SplitPart
objects.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.