java.lang.Object
edu.hm.hafner.analysis.parser.dry.simian.Set
Java Bean class for a Simian duplication set.
- Autor:
- Ullrich Hafner
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdds 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.
-
Konstruktordetails
-
Set
public Set()
-
-
Methodendetails
-
addBlock
Adds a new block to this duplication set.- Parameter:
block- the new block
-
getBlocks
Returns all blocks of this duplication set. The returned collection is read-only.- Gibt zurück:
- all files
-
getLineCount
public int getLineCount()Returns the number of duplicated lines.- Gibt zurück:
- the lineCount
-
setLineCount
public void setLineCount(int value) Sets the number of duplicated lines to the specified value.- Parameter:
value- the value to set
-