com.aspose.slides
Class PortionExCollection

java.lang.Object
  extended by com.aspose.slides.PortionsEx
      extended by com.aspose.slides.PortionExCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<PortionEx>, com.aspose.ms.System.Collections.IEnumerable<PortionEx>, java.lang.Iterable<PortionEx>

public final class PortionExCollection
extends PortionsEx
implements com.aspose.ms.System.Collections.ICollection<PortionEx>

Represents a collection of a portions.


Method Summary
 int add(PortionEx value)
           Adds a PortionEx 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.
 PortionEx 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, PortionEx value)
           Inserts a PortionEx 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<PortionEx> 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

copyTo

public void copyTo(com.aspose.ms.System.Array array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface com.aspose.ms.System.Collections.ICollection<PortionEx>
Parameters:
array - Target array.
index - Starting index in the target array.

isSynchronized

public boolean isSynchronized()

Returns a value indicating whether access to the collection is synchronized (thread-safe).

Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<PortionEx>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

Specified by:
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<PortionEx>

size

public int size()
Specified by:
size in interface com.aspose.ms.System.Collections.ICollection<PortionEx>

getCount

public int getCount()
Description copied from class: PortionsEx

Gets the number of elements actually contained in the collection.

Overrides:
getCount in class PortionsEx

get_Item

public PortionEx get_Item(int index)
Description copied from class: PortionsEx

Gets the element at the specified index.

Overrides:
get_Item in class PortionsEx

add

public int add(PortionEx value)
Description copied from class: PortionsEx

Adds a PortionEx to the end of collection.

Overrides:
add in class PortionsEx
Parameters:
value - The PortionEx to be added to the end of the collection.
Returns:
The index at which the PortionEx has been added.

insert

public void insert(int index,
                   PortionEx value)
Description copied from class: PortionsEx

Inserts a PortionEx into the collection at the specified index.

Overrides:
insert in class PortionsEx
Parameters:
index - The zero-based index at which PortionEx should be inserted.
value - The PortionEx to insert.

clear

public void clear()
Description copied from class: PortionsEx

Removes all elements from the collection.

Overrides:
clear in class PortionsEx

removeAt

public void removeAt(int index)
Description copied from class: PortionsEx

Removes the element at the specified index of the collection.

Overrides:
removeAt in class PortionsEx
Parameters:
index - The zero-based index of the element to remove.

iterator

public com.aspose.ms.System.Collections.IEnumerator<PortionEx> iterator()
Description copied from class: PortionsEx

Returns an enumerator for the entire collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<PortionEx>
Specified by:
iterator in interface java.lang.Iterable<PortionEx>
Overrides:
iterator in class PortionsEx
Returns:
An IEnumerator for the entire collection.