Class ParameterSize

  • All Implemented Interfaces:
    Serializable, org.joda.beans.Bean, org.joda.beans.ImmutableBean

    public final class ParameterSize
    extends Object
    implements org.joda.beans.ImmutableBean, Serializable
    The market data name and the associated number of parameters.

    This holds the name and the number of parameters that define it. For example, the curve name and the number of curve nodes.

    See Also:
    Serialized Form
    • Method Detail

      • of

        public static ParameterSize of​(MarketDataName<?> name,
                                       int parameterCount)
        Obtains an instance, specifying the name and parameter count.
        name - the curve name
        parameterCount - the parameter count
        the curve data
      • meta

        public static ParameterSize.Meta meta()
        The meta-bean for ParameterSize.
        the meta-bean, not null
      • metaBean

        public ParameterSize.Meta metaBean()
        Specified by:
        metaBean in interface org.joda.beans.Bean
      • getName

        public MarketDataName<?> getName()
        Gets the name of the market data.
        the value of the property, not null
      • getParameterCount

        public int getParameterCount()
        Gets the number of parameters.
        the value of the property
      • hashCode

        public int hashCode()
        hashCode in class Object