com.aspose.slides
Class CommentAuthorExCollection

java.lang.Object
  extended by com.aspose.slides.CommentAuthorsEx
      extended by com.aspose.slides.CommentAuthorExCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<CommentAuthorEx>, com.aspose.ms.System.Collections.IEnumerable<CommentAuthorEx>, java.lang.Iterable<CommentAuthorEx>

public final class CommentAuthorExCollection
extends CommentAuthorsEx
implements com.aspose.ms.System.Collections.ICollection<CommentAuthorEx>

Represents a collection of comment authors.


Method Summary
 CommentAuthorEx addAuthor(java.lang.String name, java.lang.String initials)
           Add new author at the end of a collection.
 void copyTo(com.aspose.ms.System.Array array, int index)
           Copies all elements from the collection to the specified array.
 CommentAuthorEx[] findByName(java.lang.String name)
           Find author in a collection by name.
 CommentAuthorEx[] findByNameAndInitials(java.lang.String name, java.lang.String initials)
           Find author in a collection by name and initials.
 CommentAuthorEx 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.
 boolean isSynchronized()
           Returns a value indicating whether access to the collection is synchronized (thread-safe).
 com.aspose.ms.System.Collections.IEnumerator<CommentAuthorEx> iterator()
           Returns an enumerator for the entire collection.
 int size()
           
 CommentAuthorEx[] toArray()
           Creates and returns an array with all authors.
 
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<CommentAuthorEx>
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<CommentAuthorEx>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

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

size

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

getCount

public int getCount()
Description copied from class: CommentAuthorsEx

Gets the number of elements actually contained in the collection. Read-only int.

Overrides:
getCount in class CommentAuthorsEx

get_Item

public CommentAuthorEx get_Item(int index)
Description copied from class: CommentAuthorsEx

Gets the element at the specified index. Read-only ShapeEx.

Overrides:
get_Item in class CommentAuthorsEx

addAuthor

public CommentAuthorEx addAuthor(java.lang.String name,
                                 java.lang.String initials)
Description copied from class: CommentAuthorsEx

Add new author at the end of a collection.

Overrides:
addAuthor in class CommentAuthorsEx
Parameters:
name - Name of a new author.
initials - Initials of a new author.
Returns:

toArray

public CommentAuthorEx[] toArray()
Description copied from class: CommentAuthorsEx

Creates and returns an array with all authors.

Overrides:
toArray in class CommentAuthorsEx
Returns:
Array of CommentEx

findByName

public CommentAuthorEx[] findByName(java.lang.String name)
Description copied from class: CommentAuthorsEx

Find author in a collection by name.

Overrides:
findByName in class CommentAuthorsEx
Parameters:
name - Name of an author to find.
Returns:
Author or null.

findByNameAndInitials

public CommentAuthorEx[] findByNameAndInitials(java.lang.String name,
                                               java.lang.String initials)
Description copied from class: CommentAuthorsEx

Find author in a collection by name and initials.

Overrides:
findByNameAndInitials in class CommentAuthorsEx
Parameters:
name - Name of an author to find.
initials - Initials of an author to find.
Returns:
Author or null.

iterator

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

Returns an enumerator for the entire collection.

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