public boolean add(E o) { throw new UnsupportedOperationException(); } public boolean remove(Object o) { throw new UnsupportedOperationException(); } public boolean containsAll(Collection<?> coll) { return list.containsAll(coll); } public boolean addAll(Collection<? extends E> coll) { throw new UnsupportedOperationException(); } public boolean removeAll(Collection<?> coll) { throw new UnsupportedOperationException(); } public boolean retainAll(Collection<?> coll) { throw new UnsupportedOperationException(); } public void clear() { throw new UnsupportedOperationException();
public boolean add(E o) { throw new UnsupportedOperationException(); } public boolean remove(Object o) { throw new UnsupportedOperationException(); } public boolean containsAll(Collection<?> coll) { return false; } public boolean addAll(Collection<? extends E> coll) { throw new UnsupportedOperationException(); } public boolean removeAll(Collection<?> coll) { throw new UnsupportedOperationException(); } public boolean retainAll(Collection<?> coll) { throw new UnsupportedOperationException(); } public void clear() { throw new UnsupportedOperationException();
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/common/util/ECollections.java File path: /emf-2.4.1/src/org/eclipse/emf/common/util/ECollections.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public boolean add(E o)
1
public boolean add(E o)
2
    {
2
    {
3
      throw new UnsupportedOperationException();
3
      throw new UnsupportedOperationException();
4
    }
4
    }
5
    public boolean remove(Object o)
5
    public boolean remove(Object o)
6
    {
6
    {
7
      throw new UnsupportedOperationException();
7
      throw new UnsupportedOperationException();
8
    }
8
    }
9
    public boolean containsAll(Collection<?> coll)
9
    public boolean containsAll(Collection<?> coll)
10
    {
10
    {
11
      return list.containsAll(coll);
11
      return false;
12
    }
12
    }
13
    public boolean addAll(Collection<? extends E> coll)
13
    public boolean addAll(Collection<? extends E> coll)
14
    {
14
    {
15
      throw new UnsupportedOperationException();
15
      throw new UnsupportedOperationException();
16
    }
16
    }
17
    public boolean removeAll(Collection<?> coll)
17
    public boolean removeAll(Collection<?> coll)
18
    {
18
    {
19
      throw new UnsupportedOperationException();
19
      throw new UnsupportedOperationException();
20
    }
20
    }
21
    public boolean retainAll(Collection<?> coll)
21
    public boolean retainAll(Collection<?> coll)
22
    {
22
    {
23
      throw new UnsupportedOperationException();
23
      throw new UnsupportedOperationException();
24
    }
24
    }
25
    public void clear()
25
    public void clear()
26
    {
26
    {
27
      throw new UnsupportedOperationException();
27
      throw new UnsupportedOperationException();
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