com.aspose.slides.pptx
Class PortionsEx

java.lang.Object
  extended by com.aspose.slides.pptx.PortionsEx

public final class PortionsEx
extends java.lang.Object

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 a collection.
 PortionEx get(int index)
          Gets the element at the specified index.
 void insert(int index, PortionEx value)
          Inserts a PortionEx into the collection at the specified index.
 java.util.Iterator iterator()
          Returns an iterator for the entire collection.
 void remove(int index)
          Removes the element at the specified index of the collection.
 int size()
          Gets the number of elements actually contained in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Gets the number of elements actually contained in the collection.


get

public PortionEx get(int index)
Gets the element at the specified index.

Parameters:
index - index of the element to return.
Returns:
See PortionEx.

add

public int add(PortionEx value)
Adds a PortionEx to the end of collection.

Parameters:
value - PortionEx to be added to the end of a collection.
Returns:
The index at which the PortionEx has been added.

insert

public void insert(int index,
                   PortionEx value)
Inserts a PortionEx into the collection at the specified index.

Parameters:
index - zero-based index at which PortionEx should be inserted.
value - PortionEx to insert.

clear

public void clear()
Removes all elements from a collection.


remove

public void remove(int index)
Removes the element at the specified index of the collection.

Parameters:
index - The zero-based index of the element to remove.

iterator

public java.util.Iterator iterator()
Returns an iterator for the entire collection.