CloneSet239


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
39201.000class_body_declarations[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
139786
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingEcoreEList.java
239777
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreEList.java
Next
Last
Clone Instance
1
Line Count
39
Source Line
786
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingEcoreEList.java

protected boolean isContainer() {
  return (kind&IS_CONTAINER) != 0;
}

protected boolean isUnsettable() {
  return (kind&IS_UNSETTABLE) != 0;
}

@Override public boolean isSet() {
  return isUnsettable() ? (kind&IS_SET) != 0: !isEmpty();
}

@Override public void unset() {
  super.unset();
  if (isUnsettable()) {
    if (isNotificationRequired()) {
      boolean oldIsSet = (kind&IS_SET) != 0;
      kind &= ~IS_SET;
      dispatchNotification(createNotification(Notification.UNSET, oldIsSet, false));
    }
    else {
      kind &= ~IS_SET;
    }
  }
}

@Override protected void didChange() {
  kind |= IS_SET;
}


First
Previous
Clone Instance
2
Line Count
39
Source Line
777
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreEList.java

protected boolean isContainer() {
  return (kind&IS_CONTAINER) != 0;
}

protected boolean isUnsettable() {
  return (kind&IS_UNSETTABLE) != 0;
}

@Override public boolean isSet() {
  return isUnsettable() ? (kind&IS_SET) != 0: !isEmpty();
}

@Override public void unset() {
  super.unset();
  if (isUnsettable()) {
    if (isNotificationRequired()) {
      boolean oldIsSet = (kind&IS_SET) != 0;
      kind &= ~IS_SET;
      dispatchNotification(createNotification(Notification.UNSET, oldIsSet, false));
    }
    else {
      kind &= ~IS_SET;
    }
  }
}

@Override protected void didChange() {
  kind |= IS_SET;
}


Clone AbstractionParameter Count: 0Parameter Bindings

protected boolean isContainer() {
  return (kind&IS_CONTAINER) != 0;
}

protected boolean isUnsettable() {
  return (kind&IS_UNSETTABLE) != 0;
}

@Override public boolean isSet() {
  return isUnsettable() ? (kind&IS_SET) != 0: !isEmpty();
}

@Override public void unset() {
  super.unset();
  if (isUnsettable()) {
    if (isNotificationRequired()) {
      boolean oldIsSet = (kind&IS_SET) != 0;
      kind &= ~IS_SET;
      dispatchNotification(createNotification(Notification.UNSET, oldIsSet, false));
    }
    else {
      kind &= ~IS_SET;
    }
  }
}

@Override protected void didChange() {
  kind |= IS_SET;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None