Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.954 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 44 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/zip/ZipLong.java |
2 | 12 | 44 | 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 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); } |
| |||||
/** * 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); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1316c7e0]] | ZipLong |
1 | 2 | [[#1316c7e0]] | ZipShort |