CloneSet630


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1161404
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/util/BasicEList.java
2161672
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/util/BasicEList.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
1404
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/util/BasicEList.java

/**
 * Returns the next object and advances the iterator.
 * This implementation accesses the data storage directly.
 * @return the next object.
 * @exception NoSuchElementException if the iterator is done.
 */
@Override protected E doNext() {
  try {
    @SuppressWarnings("unchecked")E next = (E) BasicEList.this.data[cursor];
    checkModCount();
    lastCursor = cursor++;
    return next;
  }
  catch (IndexOutOfBoundsException
         exception) {
    checkModCount();
    throw new NoSuchElementException();
  }
}


First
Previous
Clone Instance
2
Line Count
16
Source Line
1672
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/util/BasicEList.java

/**
 * Returns the next object and advances the iterator.
 * This implementation accesses the data storage directly.
 * @return the next object.
 * @exception NoSuchElementException if the iterator is done.
 */
@Override protected E doNext() {
  try {
    @SuppressWarnings("unchecked")E next = (E) BasicEList.this.data[cursor];
    checkModCount();
    lastCursor = cursor++;
    return next;
  }
  catch (IndexOutOfBoundsException
         exception) {
    checkModCount();
    throw new NoSuchElementException();
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Returns the next object and advances the iterator.
     * This implementation accesses the data storage directly.
     * @return the next object.
     * @exception NoSuchElementException if the iterator is done.
     */
@Override protected E doNext() {
  try {
    @SuppressWarnings("unchecked")E next = (E) BasicEList.this.data[cursor];
    checkModCount();
    lastCursor = cursor++;
    return next;
  }
  catch (IndexOutOfBoundsException
         exception) {
    checkModCount();
    throw new NoSuchElementException();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None