public interface RateComputation
A floating rate can be observed in a number of ways, including from one index, interpolating two indices, averaging an index on specific dates, overnight compounding and overnight averaging.
Each implementation contains the necessary information to compute the rate.
Implementations must be immutable and thread-safe beans.
| Modifier and Type | Method and Description |
|---|---|
void |
collectIndices(ImmutableSet.Builder<Index> builder)
Collects all the indices referred to by this computation.
|
void collectIndices(ImmutableSet.Builder<Index> builder)
A computation will typically refer to one index, such as 'GBP-LIBOR-3M'. Each index that is referred to must be added to the specified builder.
builder - the builder to useCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.