CloneSet671


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23220.974class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
126110
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/PaintMap.java
223108
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/StrokeMap.java
Next
Last
Clone Instance
1
Line Count
26
Source Line
110
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/PaintMap.java

/**
 * Returns <code>true</code> if the map contains the specified key, and
 * <code>false</code> otherwise.
 * 
 * @param key  the key.
 * 
 * @return <code>true</code> if the map contains the specified key, and
 * <code>false</code> otherwise.
 */
public boolean containsKey(Comparable key) {
  return this.store.containsKey(key);
}

/**
 * Adds a mapping between the specified <code>key</code> and 
 * <code>paint</code> values.
 * 
 * @param key  the key (<code>null</code> not permitted).
 * @param paint  the paint.
 * 
 * @throws IllegalArgumentException if <code>key</code> is 
 *     <code>null</code>.
 */
public void put(Comparable key, Paint paint) {
  if (key == null) {
    throw new IllegalArgumentException("Null \'key\' argument.");
  }
  this.store.put(key, paint);
}

/**
 * Resets the map to empty.
 */
public void clear() {
  this.store.clear();
}


First
Previous
Clone Instance
2
Line Count
23
Source Line
108
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/StrokeMap.java

/**
 * Returns <code>true</code> if the map contains the specified key, and
 * <code>false</code> otherwise.
 * 
 * @param key  the key.
 * 
 * @return <code>true</code> if the map contains the specified key, and
 * <code>false</code> otherwise.
 */
public boolean containsKey(Comparable key) {
  return this.store.containsKey(key);
}

/**
 * Adds a mapping between the specified <code>key</code> and 
 * <code>stroke</code> values.
 * 
 * @param key  the key (<code>null</code> not permitted).
 * @param stroke  the stroke.
 */
public void put(Comparable key, Stroke stroke) {
  if (key == null) {
    throw new IllegalArgumentException("Null \'key\' argument.");
  }
  this.store.put(key, stroke);
}

/**
 * Resets the map to empty.
 */
public void clear() {
  this.store.clear();
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns <code>true</code> if the map contains the specified key, and
     * <code>false</code> otherwise.
     * 
     * @param key  the key.
     * 
     * @return <code>true</code> if the map contains the specified key, and
     * <code>false</code> otherwise.
     */
public boolean containsKey(Comparable key) {
  return this.store.containsKey(key);
}

/**
     * Adds a mapping between the specified <code>key</code> and 
     * <code>stroke</code> values.
     * 
     * @param key  the key (<code>null</code> not permitted).
     * @param stroke  the stroke.
     */
/**
     * Adds a mapping between the specified <code>key</code> and 
     * <code>paint</code> values.
     * 
     * @param key  the key (<code>null</code> not permitted).
     * @param paint  the paint.
     * 
     * @throws IllegalArgumentException if <code>key</code> is 
     *     <code>null</code>.
     */
public void put(Comparable key, [[#variable18cea9a0]]  [[#variable18cea580]]) {
  if (key == null) {
    throw new IllegalArgumentException("Null \'key\' argument.");
  }
  this.store.put(key,  [[#variable18cea580]]);
}

/**
     * Resets the map to empty.
     */
public void clear() {
  this.store.clear();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18cea9a0]]
Paint 
12[[#18cea9a0]]
Stroke 
21[[#18cea580]]
paint 
22[[#18cea580]]
stroke