public interface XyDataset<X extends Comparable,S extends Comparable>
This is open source software released under the Apache 2.0 License
| Modifier and Type | Method and Description |
|---|---|
void |
clear(boolean notify)
Clears all data for this dataset
|
boolean |
contains(S seriesKey)
Returns true if this data contains the series specified
|
IntFunction<X> |
domainFunction()
Returns the domain function for this dataset
|
Class<X> |
domainType()
Returns the domain type for this dataset
|
<R> com.zavtech.morpheus.frame.DataFrame<R,S> |
frame()
Returns the current frame for this data, which can be null
|
boolean |
isEmpty()
Returns true if this dataset is empty
|
void |
refresh()
Triggers a refresh of this data based on the bound supplier
|
XyDataset<X,S> |
withLowerDomainInterval(Function<X,X> lowerIntervalFunction)
Sets the function to supply the lower domain interval value for this dataset
The lower domain interval function accepts a domain key and returns the interval to subtract
|
XyDataset<X,S> |
withUpperDomainInterval(Function<X,X> upperIntervalFunction)
Sets the function to supply the upper domain interval value for this dataset
The upper domain interval function accepts a domain key and returns the interval to subtract
|
void refresh()
boolean isEmpty()
void clear(boolean notify)
notify - if true, fire notification event<R> com.zavtech.morpheus.frame.DataFrame<R,S> frame()
Class<X> domainType()
IntFunction<X> domainFunction()
boolean contains(S seriesKey)
seriesKey - the series keyXyDataset<X,S> withLowerDomainInterval(Function<X,X> lowerIntervalFunction)
lowerIntervalFunction - the lower domain interval functionXyDataset<X,S> withUpperDomainInterval(Function<X,X> upperIntervalFunction)
upperIntervalFunction - the upper domain interval functionCopyright 2014-2017, Xavier Witdouck