public class E { private Long id; private float amount; private A reverse; private Set as; /** * Returns the amount. * @return float */ public float getAmount() { return amount; } /** * Returns the id. * @return long */ public Long getId() { return id; } /** * Sets the amount. * @param amount The amount to set */ public void setAmount(float amount) { this.amount = amount; } /** * Sets the id. * @param id The id to set */ public void setId(Long id) { this.id = id; } public A getReverse() { return reverse; } public void setReverse(A a) { reverse = a; } /** * @return Returns the as. */ public Set getAs() { return as; } /** * @param as The as to set. */ public void setAs(Set as) { this.as = as
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/legacy/E.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 E {
1
public class 
2
	private Long id;
2
SubMulti extends Multi {
3
	private float amount;
3
	private float amount;
4
	private A reverse;
4
	private 
5
	private Set as
5
SubMulti parent;
6
	private List children;
6
;
7
	private List moreChildren;
7
	/**
8
	/**
8
	 * Returns the amount.
9
	 * Returns the amount.
9
	 * @return float
10
	 * @return float
10
	 */
11
	 */
11
	public float getAmount() {
12
	public float getAmount() {
12
		return amount;
13
		return amount;
13
	}
14
	}
14
	
15
	
15
	/**
16
	/**
16
	
17
	 * Sets the amount.
18
	 * @param amount The amount to set
19
	 */
20
	public void setAmount(float amount) {
21
		this.amount = amount;
22
	}
23
	
24
	/**
17
 * Returns the id.
25
	 * Returns the childen.
18
	 * @return long
26
	 * @return List
19
	 */
27
	 */
20
	public Long getId() {
28
	public List getChildren() {
21
		return id;
29
		return children;
22
	}
30
	}
23
	
31
	
24
	/**
32
	/**
25
	 * Sets the amount.
33
	 * Returns the parent.
26
	 * @param amount The amount to set
34
	 * @
27
	 */
28
	public void setAmount(float amount) {
29
		this.amount = amou
35
return SubMulti
36
	 */
37
	public SubMulti getParent() {
30
nt;
38
		return parent;
31
	}
39
	}
32
	
40
	
33
	/**
41
	/**
34
	 * Sets the id.
42
	 * Sets the childen.
35
	 * @param id The id to set
43
	 * @param childen The childen to set
36
	 */
44
	 */
37
	public void setId(Long id) {
45
	public void setChildren(List children) {
38
		this.id = id;
46
		this.
39
	}
40
	
41
	public A getReverse() {
42
		return rever
47
children = children;
48
	}
49
	
50
	/**
51
	 * Sets the parent.
43
se;
52
	 * @param parent The parent to set
44
	}
53
	
54
 */
45
	public void setReverse(A a) {
55
	public void set
46
		reverse = a
56
Parent(SubMulti parent) {
47
;
57
		this.parent = parent;
48
	}
58
	}
59
	
49
	/**
60
	/**
50
	 * @return Returns the as.
61
	 * Returns the moreChildren.
62
	 * @return List
51
	 */
63
	 */
52
	public Set getAs() {
64
	public List getMoreChildren() {
53
		return as;
65
		return moreChildren;
54
	}
66
	}
55
	/**
67
	/**
56
	 * @param as The as
68
	 * Sets the moreChildren.
57
 to set.
69
	 * @param moreChildren The moreChildren to set
58
	 */
70
	 */
59
	public void setAs(Set as) {
71
	public void set
60
		this.as = as
72
MoreChildren(List moreChildren) {
73
		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