Class Set


  • public class Set
    extends Object
    Java Bean class for a Simian duplication set.
    Author:
    Ullrich Hafner
    • Constructor Detail

      • Set

        public Set()
    • Method Detail

      • addBlock

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

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