Uses of Class
com.opengamma.strata.market.amount.CashFlow
-
Packages that use CashFlow Package Description com.opengamma.strata.market.amount Defines representations of amounts typically used as result types. -
-
Uses of CashFlow in com.opengamma.strata.market.amount
Methods in com.opengamma.strata.market.amount that return CashFlow Modifier and Type Method Description CashFlowCashFlow. convertedTo(Currency resultCurrency, FxRateProvider rateProvider)Converts this cash flow to an equivalent amount in the specified currency.CashFlowCashFlows. getCashFlow(int index)Gets the cash flow by index.static CashFlowCashFlow. ofForecastValue(LocalDate paymentDate, CurrencyAmount forecastValue, double discountFactor)Creates aCashFlowrepresenting a single cash flow from payment date, forecast value and discount factor.static CashFlowCashFlow. ofForecastValue(LocalDate paymentDate, Currency currency, double forecastValue, double discountFactor)Creates aCashFlowrepresenting a single cash flow from payment date, forecast value amount, discount factor and currency.static CashFlowCashFlow. ofPresentValue(LocalDate paymentDate, CurrencyAmount presentValue, double discountFactor)Creates aCashFlowrepresenting a single cash flow from payment date, present value and discount factor.static CashFlowCashFlow. ofPresentValue(LocalDate paymentDate, Currency currency, double presentValue, double discountFactor)Creates aCashFlowrepresenting a single cash flow from payment date, present value amount, discount factor and currency.Methods in com.opengamma.strata.market.amount that return types with arguments of type CashFlow Modifier and Type Method Description Class<? extends CashFlow>CashFlow.Meta. beanType()org.joda.beans.BeanBuilder<? extends CashFlow>CashFlow.Meta. builder()org.joda.beans.MetaProperty<ImmutableList<CashFlow>>CashFlows.Meta. cashFlows()The meta-property for thecashFlowsproperty.ImmutableList<CashFlow>CashFlows. getCashFlows()Gets the cash flows.Methods in com.opengamma.strata.market.amount with parameters of type CashFlow Modifier and Type Method Description CashFlowsCashFlows. combinedWith(CashFlow cashFlow)Combines this cash flows instance with another cash flow.intCashFlow. compareTo(CashFlow other)Compares this cash flow to another, first by date, then value.static CashFlowsCashFlows. of(CashFlow cashFlow)Obtains an instance from a single cash flow.Method parameters in com.opengamma.strata.market.amount with type arguments of type CashFlow Modifier and Type Method Description static CashFlowsCashFlows. of(List<CashFlow> cashFlows)Obtains an instance from a list of cash flows.
-