public class DataPoint { private long id; private BigDecimal x; private BigDecimal y; private String description; /** * @return Returns the description. */ public String getDescription() { return description; } /** * @param description The description to set. */ public void setDescription(String description) { this.description = description; } /** * @return Returns the id. */ public long getId() { return id; } /** * @param id The id to set. */ public void setId(long id) { this.id = id; } /** * @return Returns the x. */ public BigDecimal getX() { return x; } /** * @param x The x to set. */ public void setX(BigDecimal x) { this.x = x; } /** * @return Returns the y. */ public BigDecimal getY() { return y; } /** * @param y The y to set. */ public void setY(BigDecimal y) { this.y = y
public class SubMulti extends Multi { private float amount; private SubMulti parent; private List children; private List moreChildren; /** * Returns the amount. * @return float */ public float getAmount() { return amount; } /** * Sets the amount. * @param amount The amount to set */ public void setAmount(float amount) { this.amount = amount; } /** * Returns the childen. * @return List */ public List getChildren() { return children; } /** * Returns the parent. * @return SubMulti */ public SubMulti getParent() { return parent; } /** * Sets the childen. * @param childen The childen to set */ public void setChildren(List children) { this.children = children; } /** * Sets the parent. * @param parent The parent to set */ public void setParent(SubMulti parent) { this.parent = parent; } /** * Returns the moreChildren. * @return List */ public List getMoreChildren() { return moreChildren; } /** * Sets the moreChildren. * @param moreChildren The moreChildren to set */ public void setMoreChildren(List moreChildren) { this.moreChildren = moreChildren
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/batch/DataPoint.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/SubMulti.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class DataPoint {
1
public class SubMulti extends Multi {
2
	private long id;
2
	private float amount;
3
	private BigDecimal x;
3
	private 
4
	private BigDecimal y;
5
	private String descriptio
4
SubMulti parent;
5
	private List children;
6
n;
6
	private List moreChildren;
7
	/**
7
	/**
8
	 * @return Returns the description.
8
	 * Returns the 
9
	 */
10
	public String getDescription
9
amount.
10
	 * @return float
11
	 */
11
() {
12
	public float getAmount() {
12
		return description;
13
		return amount;
13
	}
14
	}
14
	
15
	
15
/**
16
	/**
16
	 * @param description The description
17
	 * Sets the amount.
17
 to set.
18
	 * @param amount The amount to set
18
	 */
19
	 */
19
	public void setDescription(String description) {
20
	public void set
20
		this.description = descriptio
21
Amount(float amount) {
22
		this.amount = amount;
23
	}
24
	
25
	/**
26
	 * Returns the childen.
27
	 * @return List
28
	 */
29
	public List getChildren() {
21
n;
30
		return children;
22
	}
31
	}
23
	
32
	
24
/**
33
	/**
25
	 * @return Returns the id.
34
	 * Return
26
	 */
27
	public long getId
35
s the parent.
36
	 * @return SubMulti
37
	 */
28
() {
38
	public SubMulti getParent() {
29
		return id;
39
		return parent;
30
	}
40
	}
31
	
41
	
32
/**
42
	/**
33
	 * @param id The id
43
	 * Sets the childen.
34
 to set.
44
	 * @param childen The childen to set
35
	 */
45
	 */
36
	public void setId(long id) {
46
	public void setChildren(List children) {
37
		this.id = id;
47
		this.children = children;
38
	}
48
	}
39
	
49
	
40
/**
50
	/**
41
	 * @return Returns the x.
51
	 * 
42
	 */
43
	public BigDecimal getX() {
44
		return x;
45
	}
46
	/**
47
	 * @param x The x
52
Sets the parent.
48
 to set.
53
	 * @param parent The parent to set
49
	 */
54
	 */
50
	public void setX(BigDecimal x) {
55
	public void set
51
		this.x = x
56
Parent(SubMulti parent) {
52
;
57
		this.parent = parent;
53
	}
58
	}
54
	
59
	
55
/**
60
	/**
56
	 * @return Returns the y.
61
	 * Return
57
	 */
58
	public BigDecimal getY
62
s the moreChildren.
63
	 * @return List
64
	 */
59
() {
65
	public List getMoreChildren() {
60
		return y;
66
		return moreChildren;
61
	}
67
	}
62
	/**
68
	/**
63
	 * @param y The y
69
	 * Sets the moreChildren.
64
 to set.
70
	 * @param moreChildren The moreChildren to set
65
	 */
71
	 */
66
	public void setY(BigDecimal y) {
72
	public void set
67
		this.y = y
73
MoreChildren(List moreChildren) {
74
		this.moreChildren = moreChildren
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0