- All Implemented Interfaces:
Nat<N11>
public final class N11
extends Num
implements Nat<N11>
A class representing the number 11.
-
Field Summary
Fields
Modifier and Type |
Field |
Description |
static N11 |
instance |
The singleton instance of this class.
|
-
Method Summary
Modifier and Type |
Method |
Description |
int |
getNum() |
The integer this class represents.
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
The singleton instance of this class.
-
Method Details
-
The integer this class represents.
- Specified by:
getNum
in interface Nat<N11>
- Specified by:
getNum
in class Num
- Returns:
- The literal number 11.