Class PercentType

    • Constructor Detail

      • PercentType

        public PercentType()
      • PercentType

        public PercentType​(int value)
      • PercentType

        public PercentType​(String value)
      • PercentType

        public PercentType​(BigDecimal value)
    • Method Detail

      • as

        public <T extends State> @Nullable T as​(@Nullable Class<T> target)
        Description copied from interface: State
        Convert this State's value into another type
        Specified by:
        as in interface State
        as in class DecimalType
        target - the desired State type
        the State's value in the given type's representation, or null if the conversion was not possible