Class N1

java.lang.Object
edu.wpi.first.math.Num
edu.wpi.first.math.numbers.N1
All Implemented Interfaces:
Nat<N1>

public final class N1
extends Num
implements Nat<N1>
A class representing the number 1.
  • Field Details

  • Method Details

    • getNum

      public int getNum()
      The integer this class represents.
      Specified by:
      getNum in interface Nat<N1>
      Specified by:
      getNum in class Num
      Returns:
      The literal number 1.