CloneSet534


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.954class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11244
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/zip/ZipLong.java
21244
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/zip/ZipShort.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
44
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/zip/ZipLong.java

/**
 * Create instance from bytes.
 * @param bytes the bytes to store as a ZipLong
 * @since 1.1
 */
public ZipLong(byte[] bytes) {
  this(bytes, 0);
}

/**
 * Create instance from the four bytes starting at offset.
 * @param bytes the bytes to store as a ZipLong
 * @param offset the offset to start
 * @since 1.1
 */
public ZipLong(byte[] bytes, int offset) {
  value = ZipLong.getValue(bytes, offset);
}


First
Previous
Clone Instance
2
Line Count
12
Source Line
44
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/zip/ZipShort.java

/**
 * Create instance from bytes.
 * @param bytes the bytes to store as a ZipShort
 * @since 1.1
 */
public ZipShort(byte[] bytes) {
  this(bytes, 0);
}

/**
 * Create instance from the two bytes starting at offset.
 * @param bytes the bytes to store as a ZipShort
 * @param offset the offset to start
 * @since 1.1
 */
public ZipShort(byte[] bytes, int offset) {
  value = ZipShort.getValue(bytes, offset);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Create instance from bytes.
     * @param bytes the bytes to store as a ZipLong
     * @since 1.1
     */
/**
     * Create instance from bytes.
     * @param bytes the bytes to store as a ZipShort
     * @since 1.1
     */
public [[#variable1316c7e0]](byte[] bytes) {
  this(bytes, 0);
}

/**
     * Create instance from the four bytes starting at offset.
     * @param bytes the bytes to store as a ZipLong
     * @param offset the offset to start
     * @since 1.1
     */
/**
     * Create instance from the two bytes starting at offset.
     * @param bytes the bytes to store as a ZipShort
     * @param offset the offset to start
     * @since 1.1
     */
public [[#variable1316c7e0]](byte[] bytes, int offset) {
  value = [[#variable1316c7e0]].getValue(bytes, offset);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1316c7e0]]
ZipLong 
12[[#1316c7e0]]
ZipShort