java.lang.Object
edu.hm.hafner.analysis.parser.dry.simian.Set
Java Bean class for a Simian duplication set.
- Author:
- Ullrich Hafner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new block to this duplication set.Returns all blocks of this duplication set.intReturns the number of duplicated lines.voidsetLineCount(int value) Sets the number of duplicated lines to the specified value.
-
Constructor Details
-
Set
public Set()
-
-
Method Details
-
addBlock
Adds a new block to this duplication set.- Parameters:
block- the new block
-
getBlocks
Returns all blocks of this duplication set. The returned collection is read-only.- Returns:
- all files
-
getLineCount
public int getLineCount()Returns the number of duplicated lines.- Returns:
- the lineCount
-
setLineCount
public void setLineCount(int value) Sets the number of duplicated lines to the specified value.- Parameters:
value- the value to set
-