Class NonNegativeLong

  • All Implemented Interfaces:
    PrimitiveNumber
    Direct Known Subclasses:
    PositiveLong

    public class NonNegativeLong
    extends PrimitiveType<Long>
    implements PrimitiveNumber
    An integer whose constraints are bound to Java's 64-bit signed integer type and a further non-negative restriction.
    Author:
    callan
    • Constructor Detail

      • NonNegativeLong

        public NonNegativeLong​(Long value)
    • Method Detail

      • valueOf

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