|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.CommentAuthors
com.aspose.slides.CommentAuthorCollection
public final class CommentAuthorCollection
Represents a collection of comment authors.
Method Summary | |
---|---|
CommentAuthor |
addAuthor(java.lang.String name)
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. |
CommentAuthor[] |
findByName(java.lang.String name)
Find author in a collection by name. |
CommentAuthor |
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<CommentAuthor> |
iterator()
Returns an enumerator for the entire collection. |
int |
size()
|
CommentAuthor[] |
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 |
---|
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<CommentAuthor>
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<CommentAuthor>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<CommentAuthor>
public int size()
size
in interface com.aspose.ms.System.Collections.ICollection<CommentAuthor>
public int getCount()
CommentAuthors
Gets the number of elements actually contained in the collection.
Read-only int
.
getCount
in class CommentAuthors
public CommentAuthor get_Item(int index)
CommentAuthors
Gets the element at the specified index.
Read-only Shape
.
get_Item
in class CommentAuthors
public CommentAuthor addAuthor(java.lang.String name)
CommentAuthors
Add new author at the end of a collection.
addAuthor
in class CommentAuthors
name
- Name of a new author.
public CommentAuthor[] toArray()
CommentAuthors
Creates and returns an array with all authors.
toArray
in class CommentAuthors
CommentAuthor
public CommentAuthor[] findByName(java.lang.String name)
CommentAuthors
Find author in a collection by name.
findByName
in class CommentAuthors
name
- Name of an author to find.
public com.aspose.ms.System.Collections.IEnumerator<CommentAuthor> iterator()
CommentAuthors
Returns an enumerator for the entire collection.
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<CommentAuthor>
iterator
in interface java.lang.Iterable<CommentAuthor>
iterator
in class CommentAuthors
IEnumerator
for the entire collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |