CloneSet 1368

# CloneSet1368

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
17 | 2 | 0 | 1.000 | class_body_declarations[2]

Clone Abstraction | Parameter Bindings

Clone Instance (Click to see clone) | Line Count | Source Line | Source File
--- | --- | --- | ---

1

17

202

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/TimeSeriesCollection.java

2

16

160

    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 Abstraction | Parameter Count: 0 | Parameter 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