public class Eye { private long id; private String name; private Jay jay; private Set jays = new HashSet(); /** * @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 jay. */ public Jay getJay() { return jay; } /** * @param jay The jay to set. */ public void setJay(Jay jay) { this.jay = jay; } /** * @return Returns the jays. */ public Set getJays() { return jays; } /** * @param jays The jays to set. */ public void setJays(Set jays) { this.jays = jays; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ public void setName(String name) { this.name = name
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/Eye.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 Eye {
1
public class SubMulti extends Multi {
2
	private long id;
2
	private float amount;
3
	private String name;
3
	private S
4
	private Jay jay;
5
	private Set jays = new HashSet();
4
ubMulti parent;
5
	private List children;
6
	private List moreChildren;
6
	/**
7
	/**
7
	 * @return Returns the id.
8
	 * Returns the amount.
9
	 * @return float
8
	 */
10
	 */
9
	public long getId() {
11
	public float getAmount() {
10
		return id;
12
		return amount;
11
	}
13
	}
14
	
12
	/**
15
	/**
13
	 * @param id The id
16
	 * Sets the amount.
14
 to set.
17
	 * @param amount The amount to set
15
	 */
18
	 */
16
	public void setId(long id) {
19
	public void set
17
		this.id = id
20
Amount(float amount) {
18
;
21
		this.amount = amount;
19
	}
22
	}
23
	
20
	/**
24
	/**
21
	 * @return Returns the jay.
25
	 * Returns the 
22
	 */
23
	public Jay getJay
26
childen.
27
	 * @return List
28
	 */
24
() {
29
	public List getChildren() {
25
		return jay;
30
		return children;
26
	}
31
	}
32
	
27
	/**
33
	/**
28
	 * @param jay The jay to set.
34
	 * Returns the parent.
35
	 * @return SubMulti
29
	 */
36
	 */
30
	public void setJay(Jay jay) {
37
	public 
31
		this.jay = jay
38
SubMulti getParent() {
32
;
39
		return parent;
33
	}
40
	}
41
	
34
	/**
42
	/**
35
	 * @return Returns the jays.
43
	 * 
36
	 */
37
	public Set getJays() {
38
		return jays
44
Sets the childen.
45
	 * @param childen The childen to set
46
	 */
47
	public void setChildren(List children) {
39
;
48
		this.children = children;
40
	}
49
	}
50
	
41
	/**
51
	/**
42
	
52
	 * Sets the parent.
43
 * @param jays The jays to set.
53
	 * @param parent The parent to set
44
	 */
54
	 */
45
	public void setJays(Set jays) {
55
	public void setParent(SubMulti parent) {
46
		this.jays = jays;
56
		this.parent = parent;
47
	}
57
	}
58
	
48
	/**
59
	/**
49
	 * @return Returns the name.
60
	 * Returns the moreChildren.
61
	 * @return List
50
	 */
62
	 */
51
	public String getName() {
63
	public List getMoreChildren() {
52
		return name;
64
		return moreChildren;
53
	}
65
	}
54
	/**
66
	/**
55
	 * @param name The name
67
	 * Sets the moreChildren.
56
 to set.
68
	 * @param moreChildren The moreChildren to set
57
	 */
69
	 */
58
	public void setName(String name) {
70
	public void set
59
		this.name = name
71
MoreChildren(List moreChildren) {
72
		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