public final class CurveParameterSize extends Object implements org.joda.beans.ImmutableBean, Serializable
This holds the curve name and the number of parameters that define it.
| Modifier and Type | Class and Description |
|---|---|
static class |
CurveParameterSize.Meta
The meta-bean for
CurveParameterSize. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CurveName |
getName()
Gets the curve name.
|
int |
getParameterCount()
Gets the number of parameters.
|
int |
hashCode() |
static CurveParameterSize.Meta |
meta()
The meta-bean for
CurveParameterSize. |
CurveParameterSize.Meta |
metaBean() |
static CurveParameterSize |
of(CurveName name,
int parameterCount)
Obtains an instance, specifying the name and parameter count.
|
String |
toString() |
public static CurveParameterSize of(CurveName name, int parameterCount)
name - the curve nameparameterCount - the parameter countpublic static CurveParameterSize.Meta meta()
CurveParameterSize.public CurveParameterSize.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic CurveName getName()
public int getParameterCount()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.