# Deprecated API

## Contents

- Deprecated Methods
- Deprecated Constructors

- Deprecated Methods
  Method and Description
  org.eclipse.january.dataset.Dataset.cast(boolean, int, int) Please use class-based method `Dataset.cast(int, Class, boolean)`
  org.eclipse.january.dataset.DatasetUtils.cast(Dataset[], int) Please use the class-based methods in DatasetUtils, such as `DatasetUtils.cast(Class, Dataset...)`
  org.eclipse.january.dataset.DatasetUtils.cast(IDataset, boolean, int, int) Please use the class-based methods in DatasetUtils, such as `DatasetUtils.cast(Class, IDataset)`
  org.eclipse.january.dataset.DatasetUtils.cast(IDataset, int) Please use the class-based methods in DatasetUtils, such as `DatasetUtils.cast(Class, IDataset)`
  org.eclipse.january.dataset.Dataset.cast(int) Please use class-based method `Dataset.cast(Class)`
  org.eclipse.january.dataset.AbstractDataset.checkAxis(int, int)
  org.eclipse.january.dataset.DatasetFactory.compoundZeros(int, int[], int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.compoundZeros(int, Class, int...)`
  org.eclipse.january.dataset.DatasetUtils.copy(IDataset, int) Please use the class-based methods in DatasetUtils, such as `DatasetUtils.copy(Class, IDataset)`
  org.eclipse.january.dataset.Dataset.copy(int) Please use class-based method `Dataset.copy(Class)`
  org.eclipse.january.dataset.RGBByteDataset.createBlueDataset(int) Use `RGBByteDataset.createBlueDataset(java.lang.Class<T>)`
  org.eclipse.january.dataset.RGBDataset.createBlueDataset(int) Use `RGBDataset.createBlueDataset(java.lang.Class<T>)`
  org.eclipse.january.dataset.DatasetFactory.createComplexDataset(int, Object, Object) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createComplexDataset(Class, Object, Object)`
  org.eclipse.january.dataset.DatasetUtils.createCompoundDataset(int, Dataset...) Please use the class-based methods in DatasetUtils, such as `DatasetUtils.createCompoundDataset(Class, Dataset...)`
  org.eclipse.january.dataset.DatasetFactory.createCompoundDataset(int, Object...) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createCompoundDataset(Class, Object...)`
  org.eclipse.january.dataset.DatasetFactory.createFromList(int, List<?>) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createFromList(Class, List)`
  org.eclipse.january.dataset.DatasetFactory.createFromObject(int, int, Object, int...) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createFromObject(int, Class, Object, int...)`
  org.eclipse.january.dataset.DatasetFactory.createFromObject(int, Object) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createFromObject(Class, Object, int...)`
  org.eclipse.january.dataset.DatasetFactory.createFromObject(int, Object, int...) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createFromObject(Class, Object, int...)`
  org.eclipse.january.dataset.RGBByteDataset.createGreenDataset(int) Use `RGBByteDataset.createGreenDataset(java.lang.Class<T>)`
  org.eclipse.january.dataset.RGBDataset.createGreenDataset(int) Use `RGBDataset.createGreenDataset(java.lang.Class<T>)`
  org.eclipse.january.dataset.RGBByteDataset.createGreyDataset(double, double, double, int) Use `RGBByteDataset.createGreyDataset(Class, double, double, double)`
  org.eclipse.january.dataset.RGBDataset.createGreyDataset(double, double, double, int) Use `RGBDataset.createGreyDataset(Class, double, double, double)`
  org.eclipse.january.dataset.RGBByteDataset.createGreyDataset(int) Use `RGBByteDataset.createGreyDataset(Class)`
  org.eclipse.january.dataset.RGBDataset.createGreyDataset(int) Use `RGBDataset.createGreyDataset(Class)`
  org.eclipse.january.dataset.DatasetFactory.createLinearSpace(double, double, int, int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createLinearSpace(Class, double, double, int)`
  org.eclipse.january.dataset.DatasetFactory.createLogSpace(double, double, int, double, int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createLogSpace(Class, double, double, int, double)`
  org.eclipse.january.dataset.DatasetFactory.createRange(double, double, double, int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createRange(Class, double, double, double)`
  org.eclipse.january.dataset.DatasetFactory.createRange(double, int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createRange(Class, double)`
  org.eclipse.january.dataset.DatasetFactory.createRange(int, double, double, double, int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createRange(int, Class, double, double, double)`
  org.eclipse.january.dataset.DatasetFactory.createRange(int, double, int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.createRange(int, Class, double)`
  org.eclipse.january.dataset.RGBByteDataset.createRedDataset(int) Use `RGBByteDataset.createRedDataset(java.lang.Class<T>)`
  org.eclipse.january.dataset.RGBDataset.createRedDataset(int) Use `RGBDataset.createRedDataset(java.lang.Class<T>)`
  org.eclipse.january.dataset.DatasetUtils.eye(int, int, int, int) Please use the class-based methods in DatasetUtils, such as `DatasetUtils.eye(Class, int, int, int)`
  org.eclipse.january.dataset.Maths.getBilinear(double[], CompoundDataset, double, double) Use `Maths.interpolate(double[], CompoundDataset, double, double)`
  org.eclipse.january.dataset.Maths.getBilinear(IDataset, double, double) Use `Maths.interpolate(Dataset, double, double)`
  org.eclipse.january.dataset.Maths.getBilinear(IDataset, IDataset, double, double) Use `Maths.interpolate(Dataset, Dataset, double, double)`
  org.eclipse.january.dataset.Maths.getLinear(double[], CompoundDataset, double) Use `Maths.interpolate(double[], CompoundDataset, double)`
  org.eclipse.january.dataset.Maths.getLinear(IDataset, double) Use `Maths.interpolate(Dataset, double)`
  org.eclipse.january.dataset.IDataset.getMetadata() Use `getFirstMetadata(IMetadata.class)` instead
  org.eclipse.january.dataset.IMetadataProvider.getMetadata() Use `getFirstMetadata(IMetadata.class)` instead
  org.eclipse.january.dataset.LazyDatasetBase.getMetadata()
  org.eclipse.january.dataset.DTypeUtils.isClassSupportedAsElement(Class<? extends Object>) Use `InterfaceUtils.isElementSupported(Class)`
  org.eclipse.january.dataset.Random.lazyRand(int, String, int...) Use `Random.lazyRand(String, Class, int...)`
  org.eclipse.january.dataset.DatasetFactory.ones(Dataset, int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.ones(Dataset, Class)`
  org.eclipse.january.dataset.DatasetFactory.ones(int[], int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.ones(Class, int...)`
  org.eclipse.january.dataset.DatasetFactory.ones(int, int[], int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.ones(Class, int...)`
  org.eclipse.january.metadata.StatisticsMetadata.setMaximumMinimum(T, T, boolean...)
  org.eclipse.january.dataset.Stats.typedProduct(Dataset, int, boolean...) Please use the class-based method `Stats.typedProduct(Class, Dataset, boolean...)`
  org.eclipse.january.dataset.Stats.typedProduct(Dataset, int, int[], boolean...) Please use the class-based method `Stats.typedProduct(Class, Dataset, int[], boolean...)`
  org.eclipse.january.dataset.Stats.typedProduct(Dataset, int, int, boolean...) Please use the class-based method `Stats.typedProduct(Class, Dataset, int, boolean...)`
  org.eclipse.january.dataset.Stats.typedSum(Dataset, int, boolean...) Please use the class-based method `Stats.typedSum(Class, Dataset, boolean...)`
  org.eclipse.january.dataset.Stats.typedSum(Dataset, int, int, boolean...) Please use the class-based method `Stats.typedSum(Class, Dataset, int, boolean...)`
  org.eclipse.january.dataset.DatasetFactory.zeros(Dataset, int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.zeros(Dataset, Class)`
  org.eclipse.january.dataset.DatasetFactory.zeros(int[], int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.zeros(Class, int...)`
  org.eclipse.january.dataset.DatasetFactory.zeros(int, int[], int) Please use the class-based methods in DatasetFactory, such as `DatasetFactory.zeros(int, Class, int...)`

- Deprecated Constructors
  Constructor and Description
  org.eclipse.january.dataset.LazyDataset(String, int, int[], ILazyLoader) Use `LazyDataset.LazyDataset(ILazyLoader, String, int, Class, int[])`
  org.eclipse.january.dataset.LazyDataset(String, int, int, int[], ILazyLoader) Use `LazyDataset.LazyDataset(ILazyLoader, String, int, Class, int[])`
  org.eclipse.january.dataset.LazyDynamicDataset(String, int, Class<? extends Dataset>, int[], int[], ILazyLoader) Use `LazyDynamicDataset.LazyDynamicDataset(ILazyLoader, String, int, Class, int[], int[])`
  org.eclipse.january.dataset.LazyDynamicDataset(String, int, int, int[], int[], ILazyLoader) Use `LazyDynamicDataset.LazyDynamicDataset(ILazyLoader, String, int, Class, int[], int[])`
  org.eclipse.january.dataset.LazyWriteableDataset(String, int, int[], int[], int[], ILazySaver) Use `LazyWriteableDataset.LazyWriteableDataset(ILazySaver, String, int, Class, int[], int[], int[])`
  org.eclipse.january.dataset.LazyWriteableDataset(String, int, int, int[], int[], int[], ILazySaver) Use `LazyWriteableDataset.LazyWriteableDataset(ILazySaver, String, int, Class, int[], int[], int[])`

Copyright © 2014–2022 Eclipse Foundation. All rights reserved.