| Package | Description |
|---|---|
| com.opengamma.strata.collect.timeseries |
Time-series data structures.
|
| Modifier and Type | Method and Description |
|---|---|
LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeriesBuilder.build()
Build the time-series from the builder.
|
static LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.empty()
Returns an empty time-series.
|
LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.filter(ObjDoublePredicate<LocalDate> predicate)
Create a new time-series by filtering this one.
|
LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.headSeries(int numPoints)
Gets part of this series as a sub-series, choosing the earliest entries.
|
default LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.intersection(LocalDateDoubleTimeSeries other,
DoubleBinaryOperator mapper)
Obtains the intersection of a pair of time series.
|
LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.mapDates(Function<? super LocalDate,? extends LocalDate> mapper)
Applies an operation to each date in the time series which creates a new date, returning a new time series
with the new dates and the points from this time series.
|
LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.mapValues(DoubleUnaryOperator mapper)
Applies an operation to each value in the time series.
|
static LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.of(LocalDate date,
double value)
Obtains a time-series containing a single date and value.
|
LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.subSeries(LocalDate startInclusive,
LocalDate endExclusive)
Gets part of this series as a sub-series between two dates.
|
LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.tailSeries(int numPoints)
Gets part of this series as a sub-series, choosing the latest entries.
|
default LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.union(LocalDateDoubleTimeSeries other,
DoubleBinaryOperator mapper)
Obtains the union of a pair of time series.
|
| Modifier and Type | Method and Description |
|---|---|
static Collector<LocalDateDoublePoint,LocalDateDoubleTimeSeriesBuilder,LocalDateDoubleTimeSeries> |
LocalDateDoubleTimeSeries.collector()
Returns a collector that can be used to create a time-series from a stream of points.
|
default Pair<LocalDateDoubleTimeSeries,LocalDateDoubleTimeSeries> |
LocalDateDoubleTimeSeries.partition(ObjDoublePredicate<LocalDate> predicate)
Partition the time-series into a pair of distinct series using a predicate.
|
default Pair<LocalDateDoubleTimeSeries,LocalDateDoubleTimeSeries> |
LocalDateDoubleTimeSeries.partition(ObjDoublePredicate<LocalDate> predicate)
Partition the time-series into a pair of distinct series using a predicate.
|
default Pair<LocalDateDoubleTimeSeries,LocalDateDoubleTimeSeries> |
LocalDateDoubleTimeSeries.partitionByValue(DoublePredicate predicate)
Partition the time-series into a pair of distinct series using a predicate.
|
default Pair<LocalDateDoubleTimeSeries,LocalDateDoubleTimeSeries> |
LocalDateDoubleTimeSeries.partitionByValue(DoublePredicate predicate)
Partition the time-series into a pair of distinct series using a predicate.
|
| Modifier and Type | Method and Description |
|---|---|
default LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.intersection(LocalDateDoubleTimeSeries other,
DoubleBinaryOperator mapper)
Obtains the intersection of a pair of time series.
|
default LocalDateDoubleTimeSeries |
LocalDateDoubleTimeSeries.union(LocalDateDoubleTimeSeries other,
DoubleBinaryOperator mapper)
Obtains the union of a pair of time series.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.