Robot Core Documentation
Loading...
Searching...
No Matches
edu.wpi.first.math.numbers.N2 Class Reference
Inheritance diagram for edu.wpi.first.math.numbers.N2:
edu.wpi.first.math.Num edu.wpi.first.math.Nat< T extends Num >

Public Member Functions

int getNum ()
 
- Public Member Functions inherited from edu.wpi.first.math.Num
 Num ()
 
- Public Member Functions inherited from edu.wpi.first.math.Nat< T extends Num >

Static Public Attributes

static final N2 instance = new N2()
 

Additional Inherited Members

- Static Public Member Functions inherited from edu.wpi.first.math.Nat< T extends Num >
static Nat< N0N0 ()
 
static Nat< N1N1 ()
 
static Nat< N3N3 ()
 
static Nat< N4N4 ()
 
static Nat< N5N5 ()
 
static Nat< N6N6 ()
 
static Nat< N7N7 ()
 
static Nat< N8N8 ()
 
static Nat< N9N9 ()
 
static Nat< N10N10 ()
 
static Nat< N11N11 ()
 
static Nat< N12N12 ()
 
static Nat< N13N13 ()
 
static Nat< N14N14 ()
 
static Nat< N15N15 ()
 
static Nat< N16N16 ()
 
static Nat< N17N17 ()
 
static Nat< N18N18 ()
 
static Nat< N19N19 ()
 
static Nat< N20N20 ()
 

Detailed Description

A class representing the number 2.

Member Function Documentation

◆ getNum()

int edu.wpi.first.math.numbers.N2.getNum ( )

The integer this class represents.

Returns
The literal number 2.

Reimplemented from edu.wpi.first.math.Num.

Member Data Documentation

◆ instance

final N2 edu.wpi.first.math.numbers.N2.instance = new N2()
static

The singleton instance of this class.


The documentation for this class was generated from the following file: