CloneSet331


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31220.966class_body_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13155
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/LineContains.java
23153
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/LineContainsRegExp.java
Next
Last
Clone Instance
1
Line Count
31
Source Line
55
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/LineContains.java

/** Parameter name for the words to filter on. */
private static final String NEGATE_KEY = "negate";

/** Vector that holds the strings that input lines must contain. */
private Vector contains = new Vector();

/**
 * Remaining line to be read from this filter, or <code>null</code> if
 * the next call to <code>read()</code> should read the original stream
 * to find the next matching line.
 */
private String line = null;

private boolean negate = false;

/**
 * Constructor for "dummy" instances.
 *
 * @see BaseFilterReader#BaseFilterReader()
 */
public LineContains() {
  super();
}

/**
 * Creates a new filtered reader.
 *
 * @param in A Reader object providing the underlying stream.
 *           Must not be <code>null</code>.
 */
public LineContains( final Reader in) {
  super(in);
}


First
Previous
Clone Instance
2
Line Count
31
Source Line
53
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/LineContainsRegExp.java

/** Parameter name for the words to filter on. */
private static final String NEGATE_KEY = "negate";

/** Vector that holds the expressions that input lines must contain. */
private Vector regexps = new Vector();

/**
 * Remaining line to be read from this filter, or <code>null</code> if
 * the next call to <code>read()</code> should read the original stream
 * to find the next matching line.
 */
private String line = null;

private boolean negate = false;

/**
 * Constructor for "dummy" instances.
 *
 * @see BaseFilterReader#BaseFilterReader()
 */
public LineContainsRegExp() {
  super();
}

/**
 * Creates a new filtered reader.
 *
 * @param in A Reader object providing the underlying stream.
 *           Must not be <code>null</code>.
 */
public LineContainsRegExp( final Reader in) {
  super(in);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/** Parameter name for the words to filter on. */
private static final String NEGATE_KEY = "negate";

/** Vector that holds the expressions that input lines must contain. */
/** Vector that holds the strings that input lines must contain. */
private Vector  [[#variable100ca5e0]]= new Vector();

/**
     * Remaining line to be read from this filter, or <code>null</code> if
     * the next call to <code>read()</code> should read the original stream
     * to find the next matching line.
     */
private String line = null;

private boolean negate = false;

/**
     * Constructor for "dummy" instances.
     *
     * @see BaseFilterReader#BaseFilterReader()
     */
public [[#variable100ca560]]() {
  super();
}

/**
     * Creates a new filtered reader.
     *
     * @param in A Reader object providing the underlying stream.
     *           Must not be <code>null</code>.
     */
public [[#variable100ca560]]( final Reader in) {
  super(in);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#100ca5e0]]
contains 
12[[#100ca5e0]]
regexps 
21[[#100ca560]]
LineContains 
22[[#100ca560]]
LineContainsRegExp