Codota Logo
AbstractIntervalXYDataset.clone
Code IndexAdd Codota to your IDE (free)

How to use
clone
method
in
org.jfree.data.xy.AbstractIntervalXYDataset

Best Java code snippets using org.jfree.data.xy.AbstractIntervalXYDataset.clone (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: ca.umontreal.iro/ssj

  /**
  * Returns a clone of the dataset.
  *
  * @return A clone of the dataset.
  *
  * @throws CloneNotSupportedException if the object cannot be cloned.
  */
  public Object clone()
  throws CloneNotSupportedException
  {
   return super.clone();
  }
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns a clone of this instance.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if there is a problem.
 */
public Object clone() throws CloneNotSupportedException {
  YIntervalSeriesCollection clone
      = (YIntervalSeriesCollection) super.clone();
  clone.data = (List) ObjectUtilities.deepClone(this.data);
  return clone;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns a clone of this time series collection.
 *
 * @return A clone.
 *
 * @throws java.lang.CloneNotSupportedException
 */
public Object clone() throws CloneNotSupportedException {
  TimeSeriesCollection clone = (TimeSeriesCollection) super.clone();
  clone.data = (List) ObjectUtilities.deepClone(this.data);
  clone.workingCalendar = (Calendar) this.workingCalendar.clone();
  return clone;
}
origin: jfree/jfreechart

/**
 * Returns a clone of the dataset.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException not thrown by this class, but maybe
 *         by subclasses (if any).
 */
@Override
public Object clone() throws CloneNotSupportedException {
  SimpleHistogramDataset clone = (SimpleHistogramDataset) super.clone();
  clone.bins = (List) ObjectUtils.deepClone(this.bins);
  return clone;
}
origin: jfree/jfreechart

/**
 * Returns a clone of this instance.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if there is a problem.
 */
@Override
public Object clone() throws CloneNotSupportedException {
  XIntervalSeriesCollection clone
      = (XIntervalSeriesCollection) super.clone();
  clone.data = (List) ObjectUtils.deepClone(this.data);
  return clone;
}
origin: jfree/jfreechart

/**
 * Returns a clone of this dataset.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if the dataset cannot be cloned.
 */
@Override
public Object clone() throws CloneNotSupportedException {
  TimeTableXYDataset clone = (TimeTableXYDataset) super.clone();
  clone.values = (DefaultKeyedValues2D) this.values.clone();
  clone.workingCalendar = (Calendar) this.workingCalendar.clone();
  return clone;
}
origin: jfree/jfreechart

/**
 * Returns a clone of this instance.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if there is a problem.
 */
@Override
public Object clone() throws CloneNotSupportedException {
  YIntervalSeriesCollection clone
      = (YIntervalSeriesCollection) super.clone();
  clone.data = (List) ObjectUtils.deepClone(this.data);
  return clone;
}
origin: jfree/jfreechart

/**
 * Returns a clone of this time series collection.
 *
 * @return A clone.
 *
 * @throws java.lang.CloneNotSupportedException if there is a problem 
 *         cloning.
 */
@Override
public Object clone() throws CloneNotSupportedException {
  TimeSeriesCollection clone = (TimeSeriesCollection) super.clone();
  clone.data = (List) ObjectUtils.deepClone(this.data);
  clone.workingCalendar = (Calendar) this.workingCalendar.clone();
  return clone;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns a clone of this dataset.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if the dataset cannot be cloned.
 */
public Object clone() throws CloneNotSupportedException {
  TimeTableXYDataset clone = (TimeTableXYDataset) super.clone();
  clone.values = (DefaultKeyedValues2D) this.values.clone();
  clone.workingCalendar = (Calendar) this.workingCalendar.clone();
  return clone;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns a clone of this instance.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if there is a problem.
 */
public Object clone() throws CloneNotSupportedException {
  XIntervalSeriesCollection clone
      = (XIntervalSeriesCollection) super.clone();
  clone.data = (List) ObjectUtilities.deepClone(this.data);
  return clone;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns a clone of the dataset.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException not thrown by this class, but maybe
 *         by subclasses (if any).
 */
public Object clone() throws CloneNotSupportedException {
  SimpleHistogramDataset clone = (SimpleHistogramDataset) super.clone();
  clone.bins = (List) ObjectUtilities.deepClone(this.bins);
  return clone;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns a clone of the dataset.
 *
 * @return A clone of the dataset.
 *
 * @throws CloneNotSupportedException if the object cannot be cloned.
 */
public Object clone() throws CloneNotSupportedException {
  HistogramDataset clone = (HistogramDataset) super.clone();
  int seriesCount = getSeriesCount();
  clone.list = new java.util.ArrayList(seriesCount);
  for (int i = 0; i < seriesCount; i++) {
    clone.list.add(new HashMap((Map) this.list.get(i)));
  }
  return clone;
}
origin: jfree/jfreechart

/**
 * Returns a clone of the dataset.
 *
 * @return A clone of the dataset.
 *
 * @throws CloneNotSupportedException if the object cannot be cloned.
 */
@Override
public Object clone() throws CloneNotSupportedException {
  HistogramDataset clone = (HistogramDataset) super.clone();
  int seriesCount = getSeriesCount();
  clone.list = new java.util.ArrayList(seriesCount);
  for (int i = 0; i < seriesCount; i++) {
    clone.list.add(new HashMap((Map) this.list.get(i)));
  }
  return clone;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns an independent copy of the dataset.  Note that:
 * <ul>
 * <li>the underlying dataset is only cloned if it implements the
 * {@link PublicCloneable} interface;</li>
 * <li>the listeners registered with this dataset are not carried over to
 * the cloned dataset.</li>
 * </ul>
 *
 * @return An independent copy of the dataset.
 *
 * @throws CloneNotSupportedException if the dataset cannot be cloned for
 *         any reason.
 */
public Object clone() throws CloneNotSupportedException {
  XYBarDataset clone = (XYBarDataset) super.clone();
  if (this.underlying instanceof PublicCloneable) {
    PublicCloneable pc = (PublicCloneable) this.underlying;
    clone.underlying = (XYDataset) pc.clone();
  }
  return clone;
}
origin: jfree/jfreechart

/**
 * Returns a clone of this instance.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if there is a problem.
 */
@Override
public Object clone() throws CloneNotSupportedException {
  XYSeriesCollection clone = (XYSeriesCollection) super.clone();
  clone.data = (List) ObjectUtils.deepClone(this.data);
  clone.intervalDelegate
      = (IntervalXYDelegate) this.intervalDelegate.clone();
  return clone;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns a clone of this dataset.
 *
 * @return A clone of this dataset.
 *
 * @throws CloneNotSupportedException if there is a problem cloning.
 */
public Object clone() throws CloneNotSupportedException {
  XYIntervalSeriesCollection clone
      = (XYIntervalSeriesCollection) super.clone();
  int seriesCount = getSeriesCount();
  clone.data = new java.util.ArrayList(seriesCount);
  for (int i = 0; i < this.data.size(); i++) {
    clone.data.set(i, getSeries(i).clone());
  }
  return clone;
}
origin: jfree/jfreechart

/**
 * Returns a clone of this dataset.
 *
 * @return A clone of this dataset.
 *
 * @throws CloneNotSupportedException if there is a problem cloning.
 */
@Override
public Object clone() throws CloneNotSupportedException {
  XYIntervalSeriesCollection clone
      = (XYIntervalSeriesCollection) super.clone();
  int seriesCount = getSeriesCount();
  clone.data = new java.util.ArrayList(seriesCount);
  for (int i = 0; i < this.data.size(); i++) {
    clone.data.set(i, getSeries(i).clone());
  }
  return clone;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns a clone of this instance.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if there is a problem.
 */
public Object clone() throws CloneNotSupportedException {
  XYSeriesCollection clone = (XYSeriesCollection) super.clone();
  clone.data = (List) ObjectUtilities.deepClone(this.data);
  clone.intervalDelegate
      = (IntervalXYDelegate) this.intervalDelegate.clone();
  return clone;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Returns an independent copy of this dataset.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if there is some reason that cloning
 *     cannot be performed.
 */
public Object clone() throws CloneNotSupportedException {
  CategoryTableXYDataset clone = (CategoryTableXYDataset) super.clone();
  clone.values = (DefaultKeyedValues2D) this.values.clone();
  clone.intervalDelegate = new IntervalXYDelegate(clone);
  // need to configure the intervalDelegate to match the original
  clone.intervalDelegate.setFixedIntervalWidth(getIntervalWidth());
  clone.intervalDelegate.setAutoWidth(isAutoWidth());
  clone.intervalDelegate.setIntervalPositionFactor(
      getIntervalPositionFactor());
  return clone;
}
origin: jfree/jfreechart

/**
 * Returns an independent copy of this dataset.
 *
 * @return A clone.
 *
 * @throws CloneNotSupportedException if there is some reason that cloning
 *     cannot be performed.
 */
@Override
public Object clone() throws CloneNotSupportedException {
  CategoryTableXYDataset clone = (CategoryTableXYDataset) super.clone();
  clone.values = (DefaultKeyedValues2D) this.values.clone();
  clone.intervalDelegate = new IntervalXYDelegate(clone);
  // need to configure the intervalDelegate to match the original
  clone.intervalDelegate.setFixedIntervalWidth(getIntervalWidth());
  clone.intervalDelegate.setAutoWidth(isAutoWidth());
  clone.intervalDelegate.setIntervalPositionFactor(
      getIntervalPositionFactor());
  return clone;
}
org.jfree.data.xyAbstractIntervalXYDatasetclone

Popular methods of AbstractIntervalXYDataset

  • getEndX
  • getEndY
  • getStartX
  • getStartY

Popular in Java

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now