Class N9

  • All Implemented Interfaces:
    Nat<N9>

    public final class N9
    extends Num
    implements Nat<N9>
    A class representing the number 9.
    • Field Detail

      • instance

        public static final N9 instance
        The singleton instance of this class.
    • Method Detail

      • getNum

        public int getNum()
        The integer this class represents.
        Specified by:
        getNum in interface Nat<N9>
        Specified by:
        getNum in class Num
        Returns:
        The literal number 9.