public final class ParameterSize extends Object implements org.joda.beans.ImmutableBean, Serializable
This holds the name and the number of parameters that define it. For example, the curve name and the number of curve nodes.
| Modifier and Type | Class and Description |
|---|---|
static class |
ParameterSize.Meta
The meta-bean for
ParameterSize. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
MarketDataName<?> |
getName()
Gets the name of the market data.
|
int |
getParameterCount()
Gets the number of parameters.
|
int |
hashCode() |
static ParameterSize.Meta |
meta()
The meta-bean for
ParameterSize. |
ParameterSize.Meta |
metaBean() |
static ParameterSize |
of(MarketDataName<?> name,
int parameterCount)
Obtains an instance, specifying the name and parameter count.
|
String |
toString() |
public static ParameterSize of(MarketDataName<?> name, int parameterCount)
name - the curve nameparameterCount - the parameter countpublic static ParameterSize.Meta meta()
ParameterSize.public ParameterSize.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic MarketDataName<?> 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.