public final class ExcelCommentCollection extends Object implements Iterable<ExcelComment>
ExcelComment
).Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all comments.
|
ExcelComment |
get(int index)
Gets the comment at the specified index.
|
Iterator<ExcelComment> |
iterator()
Returns an iterator for the collection.
|
boolean |
remove(ExcelComment item)
Removes the first occurrence of a specific
|
void |
remove(int index)
Removes the comment at the specified index.
|
int |
size()
Gets the number of comments contained in the collection.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public void clear()
public ExcelComment get(int index)
index
- The zero-based index of the comment.IndexOutOfBoundsException
- Argument index
is out of range.public Iterator<ExcelComment> iterator()
iterator
in interface Iterable<ExcelComment>
public boolean remove(ExcelComment item)
item
- The ExcelComment
to remove from the collection.public void remove(int index)
index
- The zero-based index of the comment to remove.public int size()
© GemBox Ltd. — All rights reserved.