// 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. package edu.wpi.first.units; class ExampleUnit extends Unit { ExampleUnit(double baseUnitEquivalent) { this(baseUnitEquivalent, "Example", "ex"); } ExampleUnit(UnaryFunction toBase, UnaryFunction fromBase, String name, String symbol) { super(ExampleUnit.class, toBase, fromBase, name, symbol); } ExampleUnit(double baseUnitEquivalent, String name, String symbol) { super(ExampleUnit.class, baseUnitEquivalent, name, symbol); } }