Class N12

  • All Implemented Interfaces:
    Nat<N12>

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

      • instance

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

      • getNum

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