public class CommentsCollection
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.TreeSet<Comment> |
comments |
Constructor and Description |
---|
CommentsCollection() |
CommentsCollection(java.util.Collection<Comment> commentsToCopy) |
Modifier and Type | Method and Description |
---|---|
void |
addComment(Comment comment) |
boolean |
contains(Comment comment) |
CommentsCollection |
copy() |
java.util.Set<BlockComment> |
getBlockComments() |
java.util.TreeSet<Comment> |
getComments() |
java.util.Set<JavadocComment> |
getJavadocComments() |
java.util.Set<LineComment> |
getLineComments() |
CommentsCollection |
minus(CommentsCollection other) |
int |
size() |
private final java.util.TreeSet<Comment> comments
public CommentsCollection()
public CommentsCollection(java.util.Collection<Comment> commentsToCopy)
public java.util.Set<LineComment> getLineComments()
public java.util.Set<BlockComment> getBlockComments()
public java.util.Set<JavadocComment> getJavadocComments()
public void addComment(Comment comment)
public boolean contains(Comment comment)
public java.util.TreeSet<Comment> getComments()
public int size()
public CommentsCollection minus(CommentsCollection other)
public CommentsCollection copy()