Uses of Class
com.opengamma.strata.collect.BasisPoints
-
Packages that use BasisPoints Package Description com.opengamma.strata.collect Root package for common data structures used by Strata.com.opengamma.strata.loader Tools for loading data from files. -
-
Uses of BasisPoints in com.opengamma.strata.collect
Fields in com.opengamma.strata.collect declared as BasisPoints Modifier and Type Field Description static BasisPoints
BasisPoints. ZERO
A basis points of zero.Methods in com.opengamma.strata.collect that return BasisPoints Modifier and Type Method Description static BasisPoints
BasisPoints. fromDecimalForm(double decimal)
Obtains an instance from mathematical decimal form, where 0.007 will create an instance representing 70bps.static BasisPoints
BasisPoints. fromDecimalForm(Decimal decimal)
Obtains an instance from mathematical decimal form, where 0.007 will create an instance representing 70bps.static BasisPoints
BasisPoints. fromPercentage(Percentage percentage)
Obtains an instance from a percentage, where 0.7% will create an instance representing 70bps.BasisPoints
BasisPoints. map(UnaryOperator<Decimal> mapper)
Applies an operation to the value.BasisPoints
BasisPoints. minus(BasisPoints other)
Returns a basis points equal to the this basis points minus the other one.static BasisPoints
BasisPoints. of(double basisPoints)
Obtains an instance from a basis points value.static BasisPoints
BasisPoints. of(Decimal basisPoints)
Obtains an instance from a basis points value.static BasisPoints
BasisPoints. parse(String str)
Parses a percentage.BasisPoints
BasisPoints. plus(BasisPoints other)
Returns a basis points equal to the this basis points plus the other one.BasisPoints
Percentage. toBasisPoints()
Converts this percentage to the equivalent basis points.Methods in com.opengamma.strata.collect with parameters of type BasisPoints Modifier and Type Method Description static Percentage
Percentage. fromBasisPoints(BasisPoints basisPoints)
Obtains an instance from a basis points value, where 70bps will create an instance representing 0.7%.BasisPoints
BasisPoints. minus(BasisPoints other)
Returns a basis points equal to the this basis points minus the other one.BasisPoints
BasisPoints. plus(BasisPoints other)
Returns a basis points equal to the this basis points plus the other one. -
Uses of BasisPoints in com.opengamma.strata.loader
Methods in com.opengamma.strata.loader that return BasisPoints Modifier and Type Method Description static BasisPoints
LoaderUtils. parseBasisPoints(String str)
Parses basis points from the input string.
-