Klasse Unit
java.lang.Object
de.labAlive.core.parameters.parameter.unit.Unit
- Alle implementierten Schnittstellen:
Cloneable
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungclone()doublevoidsetBaseUnit(String baseUnit) voidtoString()voidtrim(double absolute, double unitPrefixFaktor) Calculates the unitFaktor and unitPrefix unitPrefixFaktor=1: 0,8V -> 800mV, 1V -> 1V; range: 1 ... 999 unitPrefixFaktor=0.1: 0,8V -> 0.8V, 1V -> 1V; range: 0.1 ... 99 unitPrefixFaktor=1E-3: 0,8V -> 0,8V, 1V -> 0,001kV
-
Konstruktordetails
-
Unit
public Unit()
-
-
Methodendetails
-
getBaseUnit
-
setBaseUnit
-
getPrefix
-
setPrefix
-
getPrefixFaktor
public double getPrefixFaktor() -
toString
-
trim
public void trim(double absolute, double unitPrefixFaktor) Calculates the unitFaktor and unitPrefix unitPrefixFaktor=1: 0,8V -> 800mV, 1V -> 1V; range: 1 ... 999 unitPrefixFaktor=0.1: 0,8V -> 0.8V, 1V -> 1V; range: 0.1 ... 99 unitPrefixFaktor=1E-3: 0,8V -> 0,8V, 1V -> 0,001kV -
clone
-