Class SimpleStrike

    • Method Detail

      • of

        public static SimpleStrike of​(double strike)
        Obtains an instance of Strike with the value of strike.
        Parameters:
        strike - the value of the strike
        Returns:
        the instance
      • getType

        public StrikeType getType()
        Description copied from interface: Strike
        Gets the type of the strike.
        Specified by:
        getType in interface Strike
        Returns:
        the strike type
      • withValue

        public SimpleStrike withValue​(double value)
        Description copied from interface: Strike
        Creates an new instance of the same strike type with value.
        Specified by:
        withValue in interface Strike
        Parameters:
        value - the new value
        Returns:
        the new strike instance
      • meta

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

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

        public double getValue()
        Gets the value of strike.
        Specified by:
        getValue in interface Strike
        Returns:
        the value of the property
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object