Package de.hsh.graja.regression.recorded
Class CommentContextTO
java.lang.Object
de.hsh.graja.regression.recorded.CommentContextTO
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommentContextTO(CommentLocation locatedAs, ContentRepresentationTO rootComment) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisEmpty()voidsetLevenshteinDistanceThreshold(Integer levenshteinDistance) voidsetLocatedAs(CommentLocation locatedAs) voidsetRootComment(ContentRepresentationTO rootComment)
-
Constructor Details
-
CommentContextTO
public CommentContextTO() -
CommentContextTO
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
getLocatedAs
-
setLocatedAs
-
getRootComment
-
setRootComment
-
hashCode
public int hashCode() -
equals
-
setLevenshteinDistanceThreshold
-
createPruned
- Returns:
- a clone, where all empty children have been pruned. The result is somehow a normalized version of the original, which is better suited for equality and structural checks.
-