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 BasisPointsBasisPoints. ZEROA basis points of zero.Methods in com.opengamma.strata.collect that return BasisPoints Modifier and Type Method Description static BasisPointsBasisPoints. fromDecimalForm(double decimal)Obtains an instance from mathematical decimal form, where 0.007 will create an instance representing 70bps.static BasisPointsBasisPoints. fromDecimalForm(Decimal decimal)Obtains an instance from mathematical decimal form, where 0.007 will create an instance representing 70bps.static BasisPointsBasisPoints. fromPercentage(Percentage percentage)Obtains an instance from a percentage, where 0.7% will create an instance representing 70bps.BasisPointsBasisPoints. map(UnaryOperator<Decimal> mapper)Applies an operation to the value.BasisPointsBasisPoints. minus(BasisPoints other)Returns a basis points equal to the this basis points minus the other one.static BasisPointsBasisPoints. of(double basisPoints)Obtains an instance from a basis points value.static BasisPointsBasisPoints. of(Decimal basisPoints)Obtains an instance from a basis points value.static BasisPointsBasisPoints. parse(String str)Parses a percentage.BasisPointsBasisPoints. plus(BasisPoints other)Returns a basis points equal to the this basis points plus the other one.BasisPointsPercentage. 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 PercentagePercentage. fromBasisPoints(BasisPoints basisPoints)Obtains an instance from a basis points value, where 70bps will create an instance representing 0.7%.BasisPointsBasisPoints. minus(BasisPoints other)Returns a basis points equal to the this basis points minus the other one.BasisPointsBasisPoints. 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 BasisPointsLoaderUtils. parseBasisPoints(String str)Parses basis points from the input string.
-