Class N20

  • All Implemented Interfaces:
    Nat<N20>

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

      • instance

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

      • getNum

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