Uses of Class
com.opengamma.strata.collect.Percentage
-
Packages that use Percentage 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 Percentage in com.opengamma.strata.collect
Fields in com.opengamma.strata.collect declared as Percentage Modifier and Type Field Description static PercentagePercentage. ZEROA percentage of zero.Methods in com.opengamma.strata.collect that return Percentage 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%.static PercentagePercentage. fromDecimalForm(double decimal)Obtains an instance from mathematical decimal form, where 0.007 will create an instance representing 0.7%.static PercentagePercentage. fromDecimalForm(Decimal decimal)Obtains an instance from mathematical decimal form, where 0.007 will create an instance representing 0.7%.PercentagePercentage. map(UnaryOperator<Decimal> mapper)Applies an operation to the value.PercentagePercentage. minus(Percentage other)Returns a percentage equal to the this percentage minus the other one.static PercentagePercentage. of(double percentage)Obtains an instance from a percentage value.static PercentagePercentage. of(Decimal percentage)Obtains an instance from a percentage value.static PercentagePercentage. parse(String str)Parses a percentage.PercentagePercentage. plus(Percentage other)Returns a percentage equal to the this percentage plus the other one.PercentageBasisPoints. toPercentage()Converts this basis points to the equivalent percentage.Methods in com.opengamma.strata.collect with parameters of type Percentage Modifier and Type Method Description static BasisPointsBasisPoints. fromPercentage(Percentage percentage)Obtains an instance from a percentage, where 0.7% will create an instance representing 70bps.PercentagePercentage. minus(Percentage other)Returns a percentage equal to the this percentage minus the other one.PercentagePercentage. plus(Percentage other)Returns a percentage equal to the this percentage plus the other one. -
Uses of Percentage in com.opengamma.strata.loader
Methods in com.opengamma.strata.loader that return Percentage Modifier and Type Method Description static PercentageLoaderUtils. parsePercentage(String str)Parses a percentage from the input string.
-