CloneSet1035


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117237
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeriesCollection.java
218186
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeTableXYDataset.java
Next
Last
Clone Instance
1
Line Count
17
Source Line
237
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeriesCollection.java

/**
 * Returns the position within each time period that is used for the X 
 * value when the collection is used as an 
 * {@link org.jfree.data.xy.XYDataset}.
 * 
 * @return The anchor position (never <code>null</code>).
 */
public TimePeriodAnchor getXPosition() {
  return this.xPosition;
}

/**
 * Sets the position within each time period that is used for the X values 
 * when the collection is used as an {@link XYDataset}, then sends a 
 * {@link DatasetChangeEvent} is sent to all registered listeners.
 * 
 * @param anchor  the anchor position (<code>null</code> not permitted).
 */
public void setXPosition(TimePeriodAnchor anchor) {
  if (anchor == null) {
    throw new IllegalArgumentException("Null \'anchor\' argument.");
  }
  this.xPosition = anchor;
  notifyListeners(new DatasetChangeEvent(this, this ));
}


First
Previous
Clone Instance
2
Line Count
18
Source Line
186
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeTableXYDataset.java

/**
 * Returns the position within each time period that is used for the X
 * value.
 *
 * @return The anchor position (never <code>null</code>).
 *
 * @see #setXPosition(TimePeriodAnchor)
 */
public TimePeriodAnchor getXPosition() {
  return this.xPosition;
}

/**
 * Sets the position within each time period that is used for the X values,
 * then sends a {@link DatasetChangeEvent} to all registered listeners.
 *
 * @param anchor  the anchor position (<code>null</code> not permitted).
 *
 * @see #getXPosition()
 */
public void setXPosition(TimePeriodAnchor anchor) {
  if (anchor == null) {
    throw new IllegalArgumentException("Null \'anchor\' argument.");
  }
  this.xPosition = anchor;
  notifyListeners(new DatasetChangeEvent(this, this ));
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Returns the position within each time period that is used for the X 
     * value when the collection is used as an 
     * {@link org.jfree.data.xy.XYDataset}.
     * 
     * @return The anchor position (never <code>null</code>).
     */
/**
     * Returns the position within each time period that is used for the X
     * value.
     *
     * @return The anchor position (never <code>null</code>).
     *
     * @see #setXPosition(TimePeriodAnchor)
     */
public TimePeriodAnchor getXPosition() {
  return this.xPosition;
}

/**
     * Sets the position within each time period that is used for the X values 
     * when the collection is used as an {@link XYDataset}, then sends a 
     * {@link DatasetChangeEvent} is sent to all registered listeners.
     * 
     * @param anchor  the anchor position (<code>null</code> not permitted).
     */
/**
     * Sets the position within each time period that is used for the X values,
     * then sends a {@link DatasetChangeEvent} to all registered listeners.
     *
     * @param anchor  the anchor position (<code>null</code> not permitted).
     *
     * @see #getXPosition()
     */
public void setXPosition(TimePeriodAnchor anchor) {
  if (anchor == null) {
    throw new IllegalArgumentException("Null \'anchor\' argument.");
  }
  this.xPosition = anchor;
  notifyListeners(new DatasetChangeEvent(this, this ));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None