java.lang.Object
edu.hm.hafner.analysis.parser.dry.dupfinder.Duplicate

public class Duplicate extends Object
Java Bean class for a Reshaper DupFinder duplicate.
Autor:
Rafal Jasica
  • Konstruktordetails

    • Duplicate

      public Duplicate()
  • Methodendetails

    • getCost

      public int getCost()
      Returns the duplicate cost.
      Gibt zurück:
      the duplicate cost
    • setCost

      public void setCost(int cost)
      Sets the duplicate cost to the specified value.
      Parameter:
      cost - the value to set
    • addFragment

      public void addFragment(Fragment file)
      Adds a new file to this duplication.
      Parameter:
      file - the new file
    • getFragments

      public Collection<Fragment> getFragments()
      Returns all files of the duplication. The returned collection is read-only.
      Gibt zurück:
      all files