|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Portions
com.aspose.slides.PortionCollection
public final class PortionCollection
Represents a collection of a portions.
Method Summary | |
---|---|
int |
add(Portion value)
Adds a Portion to the end of collection. |
void |
clear()
Removes all elements from the collection. |
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array. |
Portion |
get_Item(int index)
Gets the element at the specified index. |
int |
getCount()
Gets the number of elements actually contained in the collection. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
void |
insert(int index,
Portion value)
Inserts a Portion into the collection at the specified index. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.IEnumerator<Portion> |
iterator()
Returns an enumerator for the entire collection. |
void |
removeAt(int index)
Removes the element at the specified index of the collection. |
int |
size()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void copyTo(com.aspose.ms.System.Array array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection<Portion>
array
- Target array.index
- Starting index in the target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection<Portion>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<Portion>
public int size()
size
in interface com.aspose.ms.System.Collections.ICollection<Portion>
public int getCount()
Portions
Gets the number of elements actually contained in the collection.
getCount
in class Portions
public Portion get_Item(int index)
Portions
Gets the element at the specified index.
get_Item
in class Portions
public int add(Portion value)
Portions
Adds a Portion to the end of collection.
add
in class Portions
value
- The Portion to be added to the end of the collection.
public void insert(int index, Portion value)
Portions
Inserts a Portion into the collection at the specified index.
insert
in class Portions
index
- The zero-based index at which Portion should be inserted.value
- The Portion to insert.public void clear()
Portions
Removes all elements from the collection.
clear
in class Portions
public void removeAt(int index)
Portions
Removes the element at the specified index of the collection.
removeAt
in class Portions
index
- The zero-based index of the element to remove.public com.aspose.ms.System.Collections.IEnumerator<Portion> iterator()
Portions
Returns an enumerator for the entire collection.
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<Portion>
iterator
in interface java.lang.Iterable<Portion>
iterator
in class Portions
IEnumerator
for the entire collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |