Interface IDataDistributionCalculator<TX>
Defines the interface to a DataDistributionCalculator
Implements
Namespace:
Assembly: .dll
Syntax
public interface IDataDistributionCalculator<TX> extends IDataDistributionProvider
Type Parameters
Name | Description |
---|---|
TX |
Methods
clear()
Clears the DataDistributionCalculator flags
Declaration
public abstract void clear()
onAppendValue(ISciList<TX> values, TX newValue, boolean acceptUnsortedData)
Called when value is appended. Should update the Data Distribution flags
Declaration
public abstract void onAppendValue(ISciList<TX> values, TX newValue, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
TX | newValue | The new X value |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
onAppendValues(ISciList<TX> values, int countBeforeAppending, TX[] newValues, boolean acceptUnsortedData)
Called when X values are appended. Should update the Data Distribution flags
Declaration
public abstract void onAppendValues(ISciList<TX> values, int countBeforeAppending, TX[] newValues, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
int | countBeforeAppending | The size of the values ISciList instance passed in before appending |
TX[] | newValues | The new X values |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
onAppendValues(ISciList<TX> values, int countBeforeAppending, IValues<TX> newValues, boolean acceptUnsortedData)
Called when X values are appended. Should update the Data Distribution flags
Declaration
public abstract void onAppendValues(ISciList<TX> values, int countBeforeAppending, IValues<TX> newValues, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
int | countBeforeAppending | The size of the values ISciList instance passed in before appending |
IValues<TX> | newValues | The new X values |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
onAppendValues(ISciList<TX> values, int countBeforeAppending, Iterable<TX> newValues, boolean acceptUnsortedData)
Called when X values are appended. Should update the Data Distribution flags
Declaration
public abstract void onAppendValues(ISciList<TX> values, int countBeforeAppending, Iterable<TX> newValues, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
int | countBeforeAppending | The size of the values ISciList instance passed in before appending |
Iterable<TX> | newValues | The new X values |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
onInsertValue(ISciList<TX> values, int indexWhereInserted, TX newValue, boolean acceptUnsortedData)
Called when X Value is inserted. Should update the Data Distribution flags
Declaration
public abstract void onInsertValue(ISciList<TX> values, int indexWhereInserted, TX newValue, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
int | indexWhereInserted | The index where new X value is inserted |
TX | newValue | The new X value |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
onInsertValues(ISciList<TX> values, int indexWhereInserted, int insertedCount, TX[] newValues, boolean acceptUnsortedData)
Called when X Values are inserted. Should update the Data Distribution flags
Declaration
public abstract void onInsertValues(ISciList<TX> values, int indexWhereInserted, int insertedCount, TX[] newValues, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
int | indexWhereInserted | The index where new X values are inserted |
int | insertedCount | Amount of data which were inserted |
TX[] | newValues | The new X values |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
onInsertValues(ISciList<TX> values, int indexWhereInserted, int insertedCount, IValues<TX> newValues, boolean acceptUnsortedData)
Called when X Values are inserted. Should update the Data Distribution flags
Declaration
public abstract void onInsertValues(ISciList<TX> values, int indexWhereInserted, int insertedCount, IValues<TX> newValues, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
int | indexWhereInserted | The index where new X values are inserted |
int | insertedCount | Amount of data which were inserted |
IValues<TX> | newValues | The new X values |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
onInsertValues(ISciList<TX> values, int indexWhereInserted, int insertedCount, Iterable<TX> newValues, boolean acceptUnsortedData)
Called when X Values are inserted. Should update the Data Distribution flags
Declaration
public abstract void onInsertValues(ISciList<TX> values, int indexWhereInserted, int insertedCount, Iterable<TX> newValues, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
int | indexWhereInserted | The index where new X values are inserted |
int | insertedCount | Amount of data which were inserted |
Iterable<TX> | newValues | The new X values |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
onUpdateValue(ISciList<TX> values, int indexWhereUpdate, TX newValue, boolean acceptUnsortedData)
Called when X Value is updated. Should update the Data Distribution flags
Declaration
public abstract void onUpdateValue(ISciList<TX> values, int indexWhereUpdate, TX newValue, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
int | indexWhereUpdate | The index where new X value is updated |
TX | newValue | The new X value |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
onUpdateValues(ISciList<TX> values, int indexWhereUpdate, int updatedCount, TX[] newValues, boolean acceptUnsortedData)
Called when X Values are updated. Should update the Data Distribution flags
Declaration
public abstract void onUpdateValues(ISciList<TX> values, int indexWhereUpdate, int updatedCount, TX[] newValues, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
int | indexWhereUpdate | The index where new X values are updated |
int | updatedCount | Amount of data which were updated |
TX[] | newValues | The new X values |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
onUpdateValues(ISciList<TX> values, int indexWhereUpdate, int updatedCount, IValues<TX> newValues, boolean acceptUnsortedData)
Called when X Values are updated. Should update the Data Distribution flags
Declaration
public abstract void onUpdateValues(ISciList<TX> values, int indexWhereUpdate, int updatedCount, IValues<TX> newValues, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
int | indexWhereUpdate | The index where new X values are updated |
int | updatedCount | Amount of data which were updated |
IValues<TX> | newValues | The new X values |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
onUpdateValues(ISciList<TX> values, int indexWhereUpdate, int updatedCount, Iterable<TX> newValues, boolean acceptUnsortedData)
Called when X Values are updated. Should update the Data Distribution flags
Declaration
public abstract void onUpdateValues(ISciList<TX> values, int indexWhereUpdate, int updatedCount, Iterable<TX> newValues, boolean acceptUnsortedData)
Parameters
Type | Name | Description |
---|---|---|
ISciList<TX> | values | The X values |
int | indexWhereUpdate | The index where new X values are updated |
int | updatedCount | Amount of data which were updated |
Iterable<TX> | newValues | The new X values |
boolean | acceptUnsortedData | if set to true the series accepts unsorted data |
updateDataDistributionFlagsWhenRemovedValues()
Updates the data distribution flags when x values removed.
Declaration
public abstract void updateDataDistributionFlagsWhenRemovedValues()