Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.963 | constructor_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 55 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/gnu/regexp/REFilterInputStream.java |
2 | 5 | 52 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/gnu/regexp/REFilterReader.java |
| |||||
/** * Creates an REFilterInputStream. When reading from this stream, * occurrences of patterns matching the supplied regular expression * will be replaced with the supplied replacement text (the * metacharacters $0 through $9 may be used to refer to the full * match or subexpression matches). * * @param stream The InputStream to be filtered. * @param expr The regular expression to search for. * @param replace The text pattern to replace matches with. */ public REFilterInputStream(InputStream stream, RE expr, String replace) { super(stream); this.stream = new CharIndexedInputStream(stream, 0); this.expr = expr; this.replace = replace; } |
| |||||
/** * Creates an REFilterReader. When reading from this stream, * occurrences of patterns matching the supplied regular expression * will be replaced with the supplied replacement text (the * metacharacters $0 through $9 may be used to refer to the full * match or subexpression matches. * * @param stream The Reader to be filtered. * @param expr The regular expression to search for. * @param replace The text pattern to replace matches with. */ public REFilterReader(Reader stream, RE expr, String replace) { super(stream); this.stream = new CharIndexedReader(stream, 0); this.expr = expr; this.replace = replace; } |
| |||
/** * Creates an REFilterInputStream. When reading from this stream, * occurrences of patterns matching the supplied regular expression * will be replaced with the supplied replacement text (the * metacharacters $0 through $9 may be used to refer to the full * match or subexpression matches). * * @param stream The InputStream to be filtered. * @param expr The regular expression to search for. * @param replace The text pattern to replace matches with. */ /** * Creates an REFilterReader. When reading from this stream, * occurrences of patterns matching the supplied regular expression * will be replaced with the supplied replacement text (the * metacharacters $0 through $9 may be used to refer to the full * match or subexpression matches. * * @param stream The Reader to be filtered. * @param expr The regular expression to search for. * @param replace The text pattern to replace matches with. */ public [[#variableaef8b80]]( [[#variableaef8be0]] stream, RE expr, String replace) { super(stream); this.stream = new [[#variableaef8b20]](stream, 0); this.expr = expr; this.replace = replace; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#aef8b80]] | REFilterInputStream |
1 | 2 | [[#aef8b80]] | REFilterReader |
2 | 1 | [[#aef8be0]] | InputStream |
2 | 2 | [[#aef8be0]] | Reader |
3 | 1 | [[#aef8b20]] | CharIndexedInputStream |
3 | 2 | [[#aef8b20]] | CharIndexedReader |