Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package edu.wpi.first.wpiutil.math.numbers;
- import edu.wpi.first.wpiutil.math.Nat;
- import edu.wpi.first.wpiutil.math.Num;
- /**
- * A class representing the number {0}.
- */
- public final class N{0} extends Num implements Nat<N{0}> {{
- private N{0}() {{
- }}
- /**
- * The integer this class represents.
- *
- * @return The literal number {0}.
- */
- @Override
- public int getNum() {{
- return {0};
- }}
- /**
- * The singleton instance of this class.
- */
- public static final N{0} instance = new N{0}();
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement