2021-09-17 00:10:29 -07:00
|
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
|
|
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
|
|
|
// the WPILib BSD license file in the root directory of this project.
|
|
|
|
|
|
2023-12-01 23:52:38 -05:00
|
|
|
// THIS FILE WAS AUTO-GENERATED BY ./wpimath/generate_numbers.py. DO NOT MODIFY
|
|
|
|
|
|
2021-09-17 00:10:29 -07:00
|
|
|
package edu.wpi.first.math.numbers;
|
|
|
|
|
|
|
|
|
|
import edu.wpi.first.math.Nat;
|
|
|
|
|
import edu.wpi.first.math.Num;
|
|
|
|
|
|
2023-12-01 23:52:38 -05:00
|
|
|
/** A class representing the number {{ num }}. */
|
2021-09-17 00:10:29 -07:00
|
|
|
public final class N{{ num }} extends Num implements Nat<N{{ num }}> {
|
2023-12-01 23:52:38 -05:00
|
|
|
private N{{ num }}() {}
|
2021-09-17 00:10:29 -07:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The integer this class represents.
|
|
|
|
|
*
|
|
|
|
|
* @return The literal number {{ num }}.
|
2023-12-01 23:52:38 -05:00
|
|
|
*/
|
2021-09-17 00:10:29 -07:00
|
|
|
@Override
|
|
|
|
|
public int getNum() {
|
|
|
|
|
return {{ num }};
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-01 23:52:38 -05:00
|
|
|
/** The singleton instance of this class. */
|
2021-09-17 00:10:29 -07:00
|
|
|
public static final N{{ num }} instance = new N{{ num }}();
|
|
|
|
|
}
|