Class N5

  • All Implemented Interfaces:
    Nat<N5>

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

      • instance

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

      • getNum

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