CloneSet454


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
27210.987class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
127721
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/DatasetUtilities.java
229758
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/DatasetUtilities.java
Next
Last
Clone Instance
1
Line Count
27
Source Line
721
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/DatasetUtilities.java

/**
 * Returns the range of values in the range for the dataset.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 *
 * @return The range (possibly <code>null</code>).
 */
public static Range findRangeBounds(CategoryDataset dataset) {
  return findRangeBounds(dataset, true);
}

/**
 * Returns the range of values in the range for the dataset.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param includeInterval  a flag that determines whether or not the
 *                         y-interval is taken into account.
 *
 * @return The range (possibly <code>null</code>).
 */
public static Range findRangeBounds(CategoryDataset dataset, boolean includeInterval) {
  if (dataset == null) {
    throw new IllegalArgumentException("Null \'dataset\' argument.");
  }
  Range result = null;
  if (dataset instanceof RangeInfo) {
    RangeInfo info = (RangeInfo) dataset;
    result = info.getRangeBounds(includeInterval);
  }
  else {
    result = iterateRangeBounds(dataset, includeInterval);
  }
  return result;
}


First
Previous
Clone Instance
2
Line Count
29
Source Line
758
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/general/DatasetUtilities.java

/**
 * Returns the range of values in the range for the dataset.  This method
 * is the partner for the {@link #findDomainBounds(XYDataset)} method.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 *
 * @return The range (possibly <code>null</code>).
 */
public static Range findRangeBounds(XYDataset dataset) {
  return findRangeBounds(dataset, true);
}

/**
 * Returns the range of values in the range for the dataset.  This method
 * is the partner for the {@link #findDomainBounds(XYDataset, boolean)}
 * method.
 *
 * @param dataset  the dataset (<code>null</code> not permitted).
 * @param includeInterval  a flag that determines whether or not the
 *                         y-interval is taken into account.
 *
 * @return The range (possibly <code>null</code>).
 */
public static Range findRangeBounds(XYDataset dataset, boolean includeInterval) {
  if (dataset == null) {
    throw new IllegalArgumentException("Null \'dataset\' argument.");
  }
  Range result = null;
  if (dataset instanceof RangeInfo) {
    RangeInfo info = (RangeInfo) dataset;
    result = info.getRangeBounds(includeInterval);
  }
  else {
    result = iterateRangeBounds(dataset, includeInterval);
  }
  return result;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Returns the range of values in the range for the dataset.
     *
     * @param dataset  the dataset (<code>null</code> not permitted).
     *
     * @return The range (possibly <code>null</code>).
     */
/**
     * Returns the range of values in the range for the dataset.  This method
     * is the partner for the {@link #findDomainBounds(XYDataset)} method.
     *
     * @param dataset  the dataset (<code>null</code> not permitted).
     *
     * @return The range (possibly <code>null</code>).
     */
public static Range findRangeBounds( [[#variable1a9d49e0]] dataset) {
  return findRangeBounds(dataset, true);
}

/**
     * Returns the range of values in the range for the dataset.
     *
     * @param dataset  the dataset (<code>null</code> not permitted).
     * @param includeInterval  a flag that determines whether or not the
     *                         y-interval is taken into account.
     *
     * @return The range (possibly <code>null</code>).
     */
/**
     * Returns the range of values in the range for the dataset.  This method
     * is the partner for the {@link #findDomainBounds(XYDataset, boolean)}
     * method.
     *
     * @param dataset  the dataset (<code>null</code> not permitted).
     * @param includeInterval  a flag that determines whether or not the
     *                         y-interval is taken into account.
     *
     * @return The range (possibly <code>null</code>).
     */
public static Range findRangeBounds( [[#variable1a9d49e0]] dataset, boolean includeInterval) {
  if (dataset == null) {
    throw new IllegalArgumentException("Null \'dataset\' argument.");
  }
  Range result = null;
  if (dataset instanceof RangeInfo) {
    RangeInfo info = (RangeInfo) dataset;
    result = info.getRangeBounds(includeInterval);
  }
  else {
    result = iterateRangeBounds(dataset, includeInterval);
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9d49e0]]
CategoryDataset 
12[[#1a9d49e0]]
XYDataset