public class Duplicate extends Object
| Constructor and Description |
|---|
Duplicate() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFragment(Fragment file)
Adds a new file to this duplication.
|
int |
getCost()
Returns the duplicate cost.
|
Collection<Fragment> |
getFragments()
Returns all files of the duplication.
|
void |
setCost(int cost)
Sets the duplicate cost to the specified value.
|
public int getCost()
public void setCost(int cost)
cost - the value to setpublic void addFragment(Fragment file)
file - the new filepublic Collection<Fragment> getFragments()
Copyright © 2018. All rights reserved.