public class Duplication extends Object implements Serializable
Constructor and Description |
---|
Duplication() |
Modifier and Type | Method and Description |
---|---|
void |
addFile(CpdFile cpdFile)
Method addFile.
|
String |
getCodefragment()
Get the codefragment field.
|
List<CpdFile> |
getFiles()
Method getFiles.
|
int |
getLines()
Get the lines field.
|
int |
getTokens()
Get the tokens field.
|
void |
removeFile(CpdFile cpdFile)
Method removeFile.
|
void |
setCodefragment(String codefragment)
Set the codefragment field.
|
void |
setFiles(List<CpdFile> files)
Set the files field.
|
void |
setLines(int lines)
Set the lines field.
|
void |
setTokens(int tokens)
Set the tokens field.
|
public void addFile(CpdFile cpdFile)
cpdFile
- a cpdFile object.public String getCodefragment()
public int getLines()
public int getTokens()
public void removeFile(CpdFile cpdFile)
cpdFile
- a cpdFile object.public void setCodefragment(String codefragment)
codefragment
- a codefragment object.public void setFiles(List<CpdFile> files)
files
- a files object.public void setLines(int lines)
lines
- a lines object.public void setTokens(int tokens)
tokens
- a tokens object.Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.