public class CommentsCollection extends Object
Constructor | Description |
---|---|
CommentsCollection() |
|
CommentsCollection(Collection<Comment> commentsToCopy) |
Modifier and Type | Method | Description |
---|---|---|
void |
addComment(Comment comment) |
|
boolean |
contains(Comment comment) |
|
CommentsCollection |
copy() |
|
Set<BlockComment> |
getBlockComments() |
|
TreeSet<Comment> |
getComments() |
|
Set<JavadocComment> |
getJavadocComments() |
|
Set<LineComment> |
getLineComments() |
|
CommentsCollection |
minus(CommentsCollection other) |
|
int |
size() |
public CommentsCollection()
public CommentsCollection(Collection<Comment> commentsToCopy)
public Set<LineComment> getLineComments()
public Set<BlockComment> getBlockComments()
public Set<JavadocComment> getJavadocComments()
public void addComment(Comment comment)
public boolean contains(Comment comment)
public int size()
public CommentsCollection minus(CommentsCollection other)
public CommentsCollection copy()
Copyright © 2007–2019. All rights reserved.