CloneSet69


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4420.969method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14173
E:/TSE/Projects-CloneDR/jEdit-4.2/src/gnu/regexp/REMatch.java
24187
E:/TSE/Projects-CloneDR/jEdit-4.2/src/gnu/regexp/REMatch.java
34201
E:/TSE/Projects-CloneDR/jEdit-4.2/src/gnu/regexp/REMatch.java
44214
E:/TSE/Projects-CloneDR/jEdit-4.2/src/gnu/regexp/REMatch.java
Next
Last
Clone Instance
1
Line Count
4
Source Line
173
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/gnu/regexp/REMatch.java

/** 
 * Returns the index within the input string used to generate this match
 * where subexpression number <i>sub</i> begins, or <code>-1</code> if
 * the subexpression does not exist.  The initial position is zero.
 *
 * @param sub Subexpression index
 * @deprecated Use getStartIndex(int) instead.
 */
public int getSubStartIndex(int sub) {
  if (sub >= start.length)
    return -1;
  int x = start[sub];
  return (x == -1) ? x: offset + x;
}


Next
Previous
Clone Instance
2
Line Count
4
Source Line
187
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/gnu/regexp/REMatch.java

/** 
 * Returns the index within the input string used to generate this match
 * where subexpression number <i>sub</i> begins, or <code>-1</code> if
 * the subexpression does not exist.  The initial position is zero.
 *
 * @param sub Subexpression index
 * @since gnu.regexp 1.1.0
 */
public int getStartIndex(int sub) {
  if (sub >= start.length)
    return -1;
  int x = start[sub];
  return (x == -1) ? x: offset + x;
}


Next
Previous
Clone Instance
3
Line Count
4
Source Line
201
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/gnu/regexp/REMatch.java

/** 
 * Returns the index within the input string used to generate this match
 * where subexpression number <i>sub</i> ends, or <code>-1</code> if
 * the subexpression does not exist.  The initial position is zero.
 *
 * @param sub Subexpression index
 * @deprecated Use getEndIndex(int) instead
 */
public int getSubEndIndex(int sub) {
  if (sub >= start.length)
    return -1;
  int x = end[sub];
  return (x == -1) ? x: offset + x;
}


First
Previous
Clone Instance
4
Line Count
4
Source Line
214
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/gnu/regexp/REMatch.java

/** 
 * Returns the index within the input string used to generate this match
 * where subexpression number <i>sub</i> ends, or <code>-1</code> if
 * the subexpression does not exist.  The initial position is zero.
 *
 * @param sub Subexpression index
 */
public int getEndIndex(int sub) {
  if (sub >= start.length)
    return -1;
  int x = end[sub];
  return (x == -1) ? x: offset + x;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/** 
     * Returns the index within the input string used to generate this match
     * where subexpression number <i>sub</i> ends, or <code>-1</code> if
     * the subexpression does not exist.  The initial position is zero.
     *
     * @param sub Subexpression index
     */
/** 
     * Returns the index within the input string used to generate this match
     * where subexpression number <i>sub</i> ends, or <code>-1</code> if
     * the subexpression does not exist.  The initial position is zero.
     *
     * @param sub Subexpression index
     * @deprecated Use getEndIndex(int) instead
     */
/** 
     * Returns the index within the input string used to generate this match
     * where subexpression number <i>sub</i> begins, or <code>-1</code> if
     * the subexpression does not exist.  The initial position is zero.
     *
     * @param sub Subexpression index
     * @since gnu.regexp 1.1.0
     */
/** 
     * Returns the index within the input string used to generate this match
     * where subexpression number <i>sub</i> begins, or <code>-1</code> if
     * the subexpression does not exist.  The initial position is zero.
     *
     * @param sub Subexpression index
     * @deprecated Use getStartIndex(int) instead.
     */
public int  [[#variablec2a1580]](int sub) {
  if (sub >= start.length)
    return -1;
  int x = [[#variablec2a14c0]][sub];
  return (x == -1) ? x: offset + x;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c2a1580]]
getSubStartIndex 
12[[#c2a1580]]
getStartIndex 
13[[#c2a1580]]
getSubEndIndex 
14[[#c2a1580]]
getEndIndex 
21[[#c2a14c0]]
start 
22[[#c2a14c0]]
start 
23[[#c2a14c0]]
end 
24[[#c2a14c0]]
end