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.units; 006 007/** 008 * Unit of temperature dimension. 009 * 010 * <p>This is the base type for units of temperature dimension. It is also used to specify the 011 * dimension for {@link Measure}: <code>Measure<Temperature></code>. 012 * 013 * <p>Actual units (such as {@link Units#Celsius} and {@link Units#Fahrenheit}) can be found in the 014 * {@link Units} class. 015 */ 016public class Temperature extends Unit<Temperature> { 017 Temperature( 018 UnaryFunction toBaseConverter, UnaryFunction fromBaseConverter, String name, String symbol) { 019 super(Temperature.class, toBaseConverter, fromBaseConverter, name, symbol); 020 } 021}