public interface UpdatableCommentSource extends CommentSource
Modifier and Type | Method and Description |
---|---|
void |
addComment(String comment)
Adds a comment to the underlying collection, so that the comment will be
returned as result of the next call to the
CommentSource.getComments().
|
getComments
void addComment(String comment)
Implementations should be thread save (regarding concurrent calls to the CommentSource.getComments() method).
comment
- The comment to addCopyright © 2000-2014. All Rights Reserved.