Class N18

  • All Implemented Interfaces:

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

      • instance

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

      • getNum

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