Class N7

  • All Implemented Interfaces:
    Nat<N7>

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

      • instance

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

      • getNum

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