Class PositiveInteger

  • All Implemented Interfaces:
    PrimitiveNumber

    public class PositiveInteger
    extends NonNegativeInteger
    An integer whose constraints are bound to Java's 32-bit signed integer type and a further positive restriction.
    • Constructor Detail

      • PositiveInteger

        public PositiveInteger​(java.lang.Integer value)
    • Method Detail

      • valueOf

        public static PositiveInteger valueOf​(java.lang.String s)
        Returns an PositiveInteger object holding the value of the specified string.
        Parameters:
        s - The string to be parsed.
        Returns:
        See above.