CloneSet1368


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
117202
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeriesCollection.java
216160
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
202
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeriesCollection.java

/**
 * Returns a flag that controls whether the domain is treated as 'points in
 * time'.  This flag is used when determining the max and min values for 
 * the domain.  If <code>true</code>, then only the x-values are considered
 * for the max and min values.  If <code>false</code>, then the start and
 * end x-values will also be taken into consideration.
 *
 * @return The flag.
 * 
 * @deprecated This flag is no longer used (as of 1.0.1).
 */
public boolean getDomainIsPointsInTime() {
  return this.domainIsPointsInTime;
}

/**
 * Sets a flag that controls whether the domain is treated as 'points in 
 * time', or time periods.
 *
 * @param flag  the flag.
 * 
 * @deprecated This flag is no longer used, as of 1.0.1.  The 
 *             <code>includeInterval</code> flag in methods such as 
 *             {@link #getDomainBounds(boolean)} makes this unnecessary.
 */
public void setDomainIsPointsInTime(boolean flag) {
  this.domainIsPointsInTime = flag;
  notifyListeners(new DatasetChangeEvent(this, this ));
}


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

/**
 * Returns a flag that controls whether the domain is treated as 'points in
 * time'.
 * <P>
 * This flag is used when determining the max and min values for the domain.
 * If true, then only the x-values are considered for the max and min
 * values.  If false, then the start and end x-values will also be taken
 * into consideration.
 *
 * @return The flag.
 *
 * @see #setDomainIsPointsInTime(boolean)
 */
public boolean getDomainIsPointsInTime() {
  return this.domainIsPointsInTime;
}

/**
 * Sets a flag that controls whether the domain is treated as 'points in
 * time', or time periods.  A {@link DatasetChangeEvent} is sent to all
 * registered listeners.
 *
 * @param flag  the new value of the flag.
 *
 * @see #getDomainIsPointsInTime()
 */
public void setDomainIsPointsInTime(boolean flag) {
  this.domainIsPointsInTime = flag;
  notifyListeners(new DatasetChangeEvent(this, this ));
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Returns a flag that controls whether the domain is treated as 'points in
     * time'.  This flag is used when determining the max and min values for 
     * the domain.  If <code>true</code>, then only the x-values are considered
     * for the max and min values.  If <code>false</code>, then the start and
     * end x-values will also be taken into consideration.
     *
     * @return The flag.
     * 
     * @deprecated This flag is no longer used (as of 1.0.1).
     */
/**
     * Returns a flag that controls whether the domain is treated as 'points in
     * time'.
     * <P>
     * This flag is used when determining the max and min values for the domain.
     * If true, then only the x-values are considered for the max and min
     * values.  If false, then the start and end x-values will also be taken
     * into consideration.
     *
     * @return The flag.
     *
     * @see #setDomainIsPointsInTime(boolean)
     */
public boolean getDomainIsPointsInTime() {
  return this.domainIsPointsInTime;
}

/**
     * Sets a flag that controls whether the domain is treated as 'points in 
     * time', or time periods.
     *
     * @param flag  the flag.
     * 
     * @deprecated This flag is no longer used, as of 1.0.1.  The 
     *             <code>includeInterval</code> flag in methods such as 
     *             {@link #getDomainBounds(boolean)} makes this unnecessary.
     */
/**
     * Sets a flag that controls whether the domain is treated as 'points in
     * time', or time periods.  A {@link DatasetChangeEvent} is sent to all
     * registered listeners.
     *
     * @param flag  the new value of the flag.
     *
     * @see #getDomainIsPointsInTime()
     */
public void setDomainIsPointsInTime(boolean flag) {
  this.domainIsPointsInTime = flag;
  notifyListeners(new DatasetChangeEvent(this, this ));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None