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
        Overrides:
        as in class DecimalType
        Parameters:
        target - the desired State type
        Returns:
        the State's value in the given type's representation, or null if the conversion was not possible