public BigInteger createPositiveIntegerFromString(EDataType eDataType, String initialValue) { return createNonNegativeIntegerFromString(XMLTypePackage.Literals.NON_NEGATIVE_INTEGER, initialValue); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertPositiveInteger(BigInteger instanceValue) { return convertNonNegativeInteger(instanceValue); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertPositiveIntegerToString(EDataType eDataType, Object instanceValue) { return convertNonNegativeIntegerToString(XMLTypePackage.Literals.NON_NEGATIVE_INTEGER, instanceValue);
public BigInteger createUnsignedLongFromString(EDataType eDataType, String initialValue) { return createNonNegativeIntegerFromString(XMLTypePackage.Literals.NON_NEGATIVE_INTEGER, initialValue); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertUnsignedLong(BigInteger instanceValue) { return convertNonNegativeInteger(instanceValue); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String convertUnsignedLongToString(EDataType eDataType, Object instanceValue) { return convertNonNegativeIntegerToString(XMLTypePackage.Literals.NON_NEGATIVE_INTEGER, instanceValue);
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/impl/XMLTypeFactoryImpl.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/impl/XMLTypeFactoryImpl.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public BigInteger createPositiveIntegerFromString(EDataType eDataType, String initialValue)
1
public BigInteger createUnsignedLongFromString(EDataType eDataType, String initialValue)
2
  {
2
  {
3
    return createNonNegativeIntegerFromString(XMLTypePackage.Literals.NON_NEGATIVE_INTEGER, initialValue);
3
    return createNonNegativeIntegerFromString(XMLTypePackage.Literals.NON_NEGATIVE_INTEGER, initialValue);
4
  }
4
  }
5
  /**
5
  /**
6
   * <!-- begin-user-doc -->
6
   * <!-- begin-user-doc -->
7
   * <!-- end-user-doc -->
7
   * <!-- end-user-doc -->
8
   * @generated
8
   * @generated
9
   */
9
   */
10
  public String convertPositiveInteger(BigInteger instanceValue)
10
  public String convertUnsignedLong(BigInteger instanceValue)
11
  {
11
  {
12
    return convertNonNegativeInteger(instanceValue);
12
    return convertNonNegativeInteger(instanceValue);
13
  }
13
  }
14
  /**
14
  /**
15
   * <!-- begin-user-doc -->
15
   * <!-- begin-user-doc -->
16
   * <!-- end-user-doc -->
16
   * <!-- end-user-doc -->
17
   * @generated
17
   * @generated
18
   */
18
   */
19
  public String convertPositiveIntegerToString(EDataType eDataType, Object instanceValue)
19
  public String convertUnsignedLongToString(EDataType eDataType, Object instanceValue)
20
  {
20
  {
21
    return convertNonNegativeIntegerToString(XMLTypePackage.Literals.NON_NEGATIVE_INTEGER, instanceValue);
21
    return convertNonNegativeIntegerToString(XMLTypePackage.Literals.NON_NEGATIVE_INTEGER, instanceValue);
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