java.lang.Object
edu.hm.hafner.analysis.parser.dry.simian.Set

public class Set extends Object
Java Bean class for a Simian duplication set.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • Set

      public Set()
  • Methodendetails

    • addBlock

      public void addBlock(Block block)
      Adds a new block to this duplication set.
      Parameter:
      block - the new block
    • getBlocks

      public Collection<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