Class PositiveLong

  • All Implemented Interfaces:
    PrimitiveNumber

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

      • PositiveLong

        public PositiveLong​(java.lang.Long value)
    • Method Detail

      • valueOf

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