com.aspose.slides
Class PortionCollection

java.lang.Object
  extended by com.aspose.slides.Portions
      extended by com.aspose.slides.PortionCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<Portion>, com.aspose.ms.System.Collections.IEnumerable<Portion>, java.lang.Iterable<Portion>

public final class PortionCollection
extends Portions
implements com.aspose.ms.System.Collections.ICollection<Portion>

Represents a collection of a portions.


Method Summary
 void copyTo(java.lang.Object[] array, int index)
           Copies all elements from the collection to the specified array.
 java.lang.Object getSyncRoot()
           Returns a synchronization root.
 boolean isSynchronized()
           Returns a value indicating whether access to the collection is synchronized (thread-safe).
 int size()
           
 
Methods inherited from class com.aspose.slides.Portions
add, clear, get_Item, getCount, insert, iterator, removeAt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.ms.System.Collections.IEnumerable
iterator
 

Method Detail

copyTo

public void copyTo(java.lang.Object[] array,
                   int index)

Copies all elements from the collection to the specified array.

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

size

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

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<Portion>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

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