blob: 5e4be85aeb51969f8ad351983c77bf60dcb90b49 [file] [log] [blame]
Austin Schuh812d0d12021-11-04 20:16:48 -07001// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5package edu.wpi.first.math.numbers;
6
7import edu.wpi.first.math.Nat;
8import edu.wpi.first.math.Num;
9
10/**
11 * A class representing the number {{ num }}.
12*/
13public final class N{{ num }} extends Num implements Nat<N{{ num }}> {
14 private N{{ num }}() {
15 }
16
17 /**
18 * The integer this class represents.
19 *
20 * @return The literal number {{ num }}.
21 */
22 @Override
23 public int getNum() {
24 return {{ num }};
25 }
26
27 /**
28 * The singleton instance of this class.
29 */
30 public static final N{{ num }} instance = new N{{ num }}();
31}