Class N10

  • All Implemented Interfaces:
    Nat<N10>

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

      • instance

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

      • getNum

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