001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package edu.wpi.first.math.numbers; 006 007import edu.wpi.first.math.Nat; 008import edu.wpi.first.math.Num; 009 010/** 011 * A class representing the number 17. 012*/ 013public final class N17 extends Num implements Nat<N17> { 014 private N17() { 015 } 016 017 /** 018 * The integer this class represents. 019 * 020 * @return The literal number 17. 021 */ 022 @Override 023 public int getNum() { 024 return 17; 025 } 026 027 /** 028 * The singleton instance of this class. 029 */ 030 public static final N17 instance = new N17(); 031}