## Uses of Classcom.opengamma.strata.collect.Percentage

• Packages that use Percentage
Package Description
com.opengamma.strata.collect
Root package for common data structures used by Strata.
• ### Uses of Percentage in com.opengamma.strata.collect

Fields in com.opengamma.strata.collect declared as Percentage
Modifier and Type Field Description
static Percentage Percentage.ZERO
A percentage of zero.
Methods in com.opengamma.strata.collect that return Percentage
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%.
static Percentage Percentage.fromDecimalForm​(double decimal)
Obtains an instance from mathematical decimal form, where 0.007 will create an instance representing 0.7%.
static Percentage Percentage.fromDecimalForm​(Decimal decimal)
Obtains an instance from mathematical decimal form, where 0.007 will create an instance representing 0.7%.
Percentage Percentage.map​(UnaryOperator<Decimal> mapper)
Applies an operation to the value.
Percentage Percentage.minus​(Percentage other)
Returns a percentage equal to the this percentage minus the other one.
static Percentage Percentage.of​(double percentage)
Obtains an instance from a percentage value.
static Percentage Percentage.of​(Decimal percentage)
Obtains an instance from a percentage value.
static Percentage Percentage.parse​(String str)
Parses a percentage.
Percentage Percentage.plus​(Percentage other)
Returns a percentage equal to the this percentage plus the other one.
Percentage BasisPoints.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 BasisPoints BasisPoints.fromPercentage​(Percentage percentage)
Obtains an instance from a percentage, where 0.7% will create an instance representing 70bps.
Percentage Percentage.minus​(Percentage other)
Returns a percentage equal to the this percentage minus the other one.
Percentage Percentage.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 Percentage LoaderUtils.parsePercentage​(String str)
Parses a percentage from the input string.