- add(UnitDBImpl) - Method in class ucar.units.UnitDBImpl
-
Adds all the entries in another UnitDBImpl to this database.
- add_escapes(String) - Method in exception ucar.units.ParseException
-
Used to convert raw characters to their escaped version
when these raw version cannot be used as part of an ASCII
string literal.
- addAlias(String, String) - Method in interface ucar.units.UnitDB
-
Adds an alias for a unit to the database.
- addAlias(String, String, String) - Method in interface ucar.units.UnitDB
-
Adds an alias for a unit to the database.
- addAlias(String, String, String, String) - Method in interface ucar.units.UnitDB
-
Adds an alias for a unit to the database.
- addAlias(UnitID, String) - Method in interface ucar.units.UnitDB
-
Adds an alias for a unit to the database.
- addAlias(String, String) - Method in class ucar.units.UnitDBImpl
-
Adds an alias for a unit already in the database.
- addAlias(String, String, String) - Method in class ucar.units.UnitDBImpl
-
Adds an alias for a unit already in the database.
- addAlias(String, String, String, String) - Method in class ucar.units.UnitDBImpl
-
Adds an alias for a unit already in the database.
- addAlias(UnitID, String) - Method in class ucar.units.UnitDBImpl
-
Adds an alias for a unit already in the database.
- addEscapes(String) - Static method in error ucar.units.TokenMgrError
-
Replaces unprintable characters by their escaped (or unicode escaped)
equivalents in the given string
- addName(String, double) - Method in interface ucar.units.PrefixDB
-
Adds a prefix to the database by name.
- addName(String, double) - Method in class ucar.units.PrefixDBImpl
-
Adds a prefix to the database by name.
- addSymbol(String, double) - Method in interface ucar.units.PrefixDB
-
Adds a prefix to the database by symbol.
- addSymbol(String, double) - Method in class ucar.units.PrefixDBImpl
-
Adds a prefix symbol to the database.
- addSymbol(String, String) - Method in interface ucar.units.UnitDB
-
Adds a symbol for a unit to the database.
- addSymbol(String, String) - Method in class ucar.units.UnitDBImpl
-
Adds a symbol for a unit already in the database.
- addUnit(Unit) - Method in interface ucar.units.UnitDB
-
Adds a unit to the database.
- addUnit(Unit) - Method in class ucar.units.UnitDBImpl
-
Adds a unit to the database.
- adjustBeginLineColumn(int, int) - Method in class ucar.units.ASCII_CharStream
-
Method to adjust line and column numbers for the start of a token.
- adjustBeginLineColumn(int, int) - Method in class ucar.units.SimpleCharStream
-
Method to adjust line and column numbers for the start of a token.
- AMOUNT_OF_SUBSTANCE - Static variable in class ucar.units.BaseQuantity
-
The base quantity of amount of substance.
- AMOUNT_OF_SUBSTANCE_UNIT - Static variable in class ucar.units.SI
-
The unit corresponding to the quantity of amount of substance.
- AMPERE - Static variable in class ucar.units.SI
-
Base unit of electric current.
- ANGSTROM - Static variable in class ucar.units.SI
-
Special derived unit -- temporarily accepted for use with the SI -- for
the quantity of length.
- ARC_DEGREE - Static variable in class ucar.units.SI
-
Special derived unit -- accepted for use with the SI -- for the quantity
of plane angle.
- ARC_MINUTE - Static variable in class ucar.units.SI
-
Special derived unit -- accepted for use with the SI -- for the quantity
of plane angle.
- ARC_SECOND - Static variable in class ucar.units.SI
-
Special derived unit -- accepted for use with the SI -- for the quantity
of plane angle.
- ARE - Static variable in class ucar.units.SI
-
Special derived unit -- temporarily accepted for use with the SI -- for
the quantity of area.
- ASCII_CharStream - Class in ucar.units
-
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
- ASCII_CharStream(Reader, int, int, int) - Constructor for class ucar.units.ASCII_CharStream
-
- ASCII_CharStream(Reader, int, int) - Constructor for class ucar.units.ASCII_CharStream
-
- ASCII_CharStream(InputStream, int, int, int) - Constructor for class ucar.units.ASCII_CharStream
-
- ASCII_CharStream(InputStream, int, int) - Constructor for class ucar.units.ASCII_CharStream
-
- CANDELA - Static variable in class ucar.units.SI
-
Base unit of luminous intensity.
- clockExpr(Calendar) - Method in class ucar.units.StandardUnitFormat
-
- clone(UnitName) - Method in class ucar.units.DerivedUnitImpl
-
Clones the derived unit changing the identifiers.
- clone(UnitName) - Method in class ucar.units.LogarithmicUnit
-
Clones this unit, changing the identifier.
- clone(UnitName) - Method in class ucar.units.OffsetUnit
-
Clones this unit, changing the identifier.
- clone(UnitName) - Method in class ucar.units.ScaledUnit
-
Clones this unit, changing the identifier.
- clone(UnitName) - Method in class ucar.units.TimeScaleUnit
-
Clones this unit, changing the identifier.
- clone(UnitName) - Method in interface ucar.units.Unit
-
Clones this unit, changing the identifier.
- COLON - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- column - Variable in class ucar.units.SimpleCharStream
-
- compareTo(BaseQuantity) - Method in class ucar.units.BaseQuantity
-
Compares this base quantity to another base quantity.
- compareTo(Object) - Method in class ucar.units.Prefix
-
Compares this prefix to another.
- compareTo(String) - Method in class ucar.units.Prefix
-
Compares this prefix to a string.
- compareTo(Object) - Method in class ucar.units.PrefixName
-
Compares this PrefixName with another PrefixName.
- compareTo(String) - Method in class ucar.units.PrefixName
-
Compares this PrefixName with a string.
- compareTo(Object) - Method in class ucar.units.PrefixSymbol
-
Compares this prefix against another PrefixSymbol.
- compareTo(String) - Method in class ucar.units.PrefixSymbol
-
Compares this prefix against a String.
- compareTo(Object) - Method in class ucar.units.UnitName
-
Compares this UnitName with another UnitName.
- ConversionException - Exception in ucar.units
-
Provides support for unit conversion exceptions.
- ConversionException() - Constructor for exception ucar.units.ConversionException
-
Constructs from nothing.
- ConversionException(Unit, Unit) - Constructor for exception ucar.units.ConversionException
-
Constructs from a "from" unit and and "to" unit.
- convert(float) - Method in interface ucar.units.Converter
-
Converts a numeric value.
- convert(double) - Method in interface ucar.units.Converter
-
Converts a numeric value.
- convert(float[]) - Method in interface ucar.units.Converter
-
Converts an array of numeric values.
- convert(double[]) - Method in interface ucar.units.Converter
-
Converts an array of numeric values.
- convert(float[], float[]) - Method in interface ucar.units.Converter
-
Converts an array of numeric values.
- convert(double[], double[]) - Method in interface ucar.units.Converter
-
Converts an array of numeric values.
- convert(float) - Method in class ucar.units.ConverterImpl
-
Converts a numeric value.
- convert(float[]) - Method in class ucar.units.ConverterImpl
-
Converts an array of numeric values.
- convert(double[]) - Method in class ucar.units.ConverterImpl
-
Converts an array of numeric values.
- convert(double) - Method in class ucar.units.TimeScaleUnit.MyConverter
-
- convert(float[], float[]) - Method in class ucar.units.TimeScaleUnit.MyConverter
-
- convert(double[], double[]) - Method in class ucar.units.TimeScaleUnit.MyConverter
-
- convert(double) - Method in class ucar.units.UnitImpl.MyConverter
-
- convert(float[], float[]) - Method in class ucar.units.UnitImpl.MyConverter
-
- convert(double[], double[]) - Method in class ucar.units.UnitImpl.MyConverter
-
- Converter - Interface in ucar.units
-
Interface for converting numeric values from one unit to another.
- ConverterImpl - Class in ucar.units
-
Provides support for implementations of unit converters.
- ConverterImpl(Unit, Unit) - Constructor for class ucar.units.ConverterImpl
-
Constructs from a "from" unit and a "to" unit.
- convertTo(float, Unit) - Method in interface ucar.units.Unit
-
Converts a numerical value from this unit to another unit.
- convertTo(double, Unit) - Method in interface ucar.units.Unit
-
Converts a numerical value from this unit to another unit.
- convertTo(float[], Unit) - Method in interface ucar.units.Unit
-
Converts numerical values from this unit to another unit.
- convertTo(double[], Unit) - Method in interface ucar.units.Unit
-
Converts numerical values from this unit to another unit.
- convertTo(float[], Unit, float[]) - Method in interface ucar.units.Unit
-
Converts numerical values from this unit to another unit.
- convertTo(double[], Unit, double[]) - Method in interface ucar.units.Unit
-
Converts numerical values from this unit to another unit.
- convertTo(float, Unit) - Method in class ucar.units.UnitImpl
-
Converts a numeric value from this unit to another unit.
- convertTo(double, Unit) - Method in class ucar.units.UnitImpl
-
Converts a numeric value from this unit to another unit.
- convertTo(float[], Unit) - Method in class ucar.units.UnitImpl
-
Converts numeric values from this unit to another unit.
- convertTo(double[], Unit) - Method in class ucar.units.UnitImpl
-
Converts numeric values from this unit to another unit.
- convertTo(float[], Unit, float[]) - Method in class ucar.units.UnitImpl
-
Converts numeric values from this unit to another unit.
- convertTo(double[], Unit, double[]) - Method in class ucar.units.UnitImpl
-
Converts numeric values from this unit to another unit.
- COULOMB - Static variable in class ucar.units.SI
-
Special derived unit for the quantity of electric charge or quantity of
electricity.
- create(Unit, Unit) - Static method in class ucar.units.ConverterImpl
-
Factory method for creating a unit converter.
- create(String) - Static method in class ucar.units.UnknownUnit
-
Factory method for constructing an unknown unit from a name.
- curChar - Variable in class ucar.units.StandardUnitFormatTokenManager
-
- CURIE - Static variable in class ucar.units.SI
-
Special derived unit -- temporarily accepted for use with the SI until
the year 2000 according to the USA National Institute of Standards and
Technology -- for the quantity of activity of a radionuclide.
- currentToken - Variable in exception ucar.units.ParseException
-
This is the last token that has been consumed successfully.
- dateExpr() - Method in class ucar.units.StandardUnitFormat
-
- DAY - Static variable in class ucar.units.SI
-
Special derived unit -- accepted for use with the SI -- for the quantity
of time.
- debugStream - Variable in class ucar.units.StandardUnitFormatTokenManager
-
Debug output.
- DEFAULT - Static variable in interface ucar.units.StandardUnitFormatConstants
-
Lexical state.
- DEGREE_CELSIUS - Static variable in class ucar.units.SI
-
Special derived unit for the quantity of Celsius temperature.
- DerivableUnit - Interface in ucar.units
-
Interface for units that can convert numeric values to and from an
underlying derived unit.
- DerivedUnit - Interface in ucar.units
-
Interface for derived units.
- DerivedUnitImpl - Class in ucar.units
-
Provides support for a concrete implementation of derived units.
- DerivedUnitImpl() - Constructor for class ucar.units.DerivedUnitImpl
-
Constructs a dimensionless derived unit from nothing.
- DerivedUnitImpl(UnitDimension) - Constructor for class ucar.units.DerivedUnitImpl
-
Constructs from a unit dimension.
- DerivedUnitImpl(UnitName) - Constructor for class ucar.units.DerivedUnitImpl
-
Constructs from identifiers.
- DerivedUnitImpl(UnitDimension, UnitName) - Constructor for class ucar.units.DerivedUnitImpl
-
Constructs from a unit dimension and identifiers.
- Dimension - Class in ucar.units
-
Provides support for the concept of "dimension": pairs of base entities and
exponents.
- Dimension() - Constructor for class ucar.units.Dimension
-
Constructs a dimensionless dimension from nothing.
- Dimension(Factor) - Constructor for class ucar.units.Dimension
-
Constructs from a single Factor.
- Dimension(Factor[]) - Constructor for class ucar.units.Dimension
-
Constructs from an array of Factor-s.
- DIMENSIONLESS - Static variable in class ucar.units.DerivedUnitImpl
-
The dimensionless derived unit.
- disable_tracing() - Method in class ucar.units.StandardUnitFormat
-
Disable tracing.
- DIVIDE - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- divideBy(QuantityDimension) - Method in class ucar.units.QuantityDimension
-
Divides this quantity dimension by another quantity dimension.
- divideBy(Unit) - Method in interface ucar.units.Unit
-
Divides this unit by another.
- divideBy(UnitDimension) - Method in class ucar.units.UnitDimension
-
Divides this unit dimension by another.
- divideBy(Unit) - Method in class ucar.units.UnitImpl
-
Divides this unit by another.
- DivideException - Exception in ucar.units
-
Provides support for unit division failures.
- DivideException(Unit) - Constructor for exception ucar.units.DivideException
-
Constructs from a unit that can't be divided.
- DivideException(Unit, Unit) - Constructor for exception ucar.units.DivideException
-
Constructs from dividend and divisor units.
- divideInto(Unit) - Method in interface ucar.units.Unit
-
Divides this unit into another.
- divideInto(Unit) - Method in class ucar.units.UnitImpl
-
Divides this unit into another.
- Done() - Method in class ucar.units.ASCII_CharStream
-
- Done() - Method in class ucar.units.SimpleCharStream
-
Reset buffer when finished.
- ELECTRIC_CURRENT - Static variable in class ucar.units.BaseQuantity
-
The base quantity of electric current.
- ELECTRIC_CURRENT_UNIT - Static variable in class ucar.units.SI
-
The unit corresponding to the quantity of electric current.
- enable_tracing() - Method in class ucar.units.StandardUnitFormat
-
Enable tracing.
- endColumn - Variable in class ucar.units.Token
-
The column number of the last character of this Token.
- endLine - Variable in class ucar.units.Token
-
The line number of the last character of this Token.
- EOF - Static variable in interface ucar.units.StandardUnitFormatConstants
-
End of File.
- eol - Variable in exception ucar.units.ParseException
-
The end of line string for this machine.
- equals(Object) - Method in interface ucar.units.Base
-
Indicates if this base entity is semantically the same as another object.
- equals(Object) - Method in class ucar.units.BaseQuantity
-
Indicates if this base quantity is semantically identical to an object.
- equals(Object) - Method in class ucar.units.DerivedUnitImpl
-
Indicates if this derived unit is semantically identical to an object.
- equals(Object) - Method in class ucar.units.Dimension
-
Indicates if this dimension is semantically identical to an object.
- equals(Object) - Method in class ucar.units.Factor
-
Indicates if this Factor is semantically identical to another object.
- equals(Object) - Method in class ucar.units.LogarithmicUnit
-
Indicates if this unit is semantically identical to an object.
- equals(Object) - Method in class ucar.units.OffsetUnit
-
Indicates if this unit is semantically identical to an object.
- equals(Object) - Method in class ucar.units.ScaledUnit
-
Indicates if this unit is semantically identical to an object.
- equals(Object) - Method in class ucar.units.TimeScaleUnit
-
Indicates if this unit is semantically identical to an object.
- equals(Object) - Method in interface ucar.units.Unit
-
Indicates if this unit is semantically identical to an object.
- equals(Object) - Method in class ucar.units.UnitName
-
Indicates if this UnitName is semantically identical to an object.
- equals(Object) - Method in class ucar.units.UnknownBaseQuantity
-
Indicates if this quantity is semantically the same as an object.
- equals(Object) - Method in class ucar.units.UnknownUnit
-
Indicates if this unit is semantically identical to an object.
- ExpandBuff(boolean) - Method in class ucar.units.SimpleCharStream
-
- expectedTokenSequences - Variable in exception ucar.units.ParseException
-
Each entry in this array is an array of integers.
- Factor - Class in ucar.units
-
Provides support for a Base/exponent pair.
- Factor(Base) - Constructor for class ucar.units.Factor
-
Constructs from a Base.
- Factor(Factor, int) - Constructor for class ucar.units.Factor
-
Constructs from a Factor and an exponent.
- Factor(Base, int) - Constructor for class ucar.units.Factor
-
Constructs from a Base and an exponent.
- FARAD - Static variable in class ucar.units.SI
-
Special derived unit for the quantity of electric capacitance.
- FillBuff() - Method in class ucar.units.SimpleCharStream
-
- format(Factor, StringBuffer) - Method in class ucar.units.StandardUnitFormat
-
Formats a Factor.
- format(Unit, StringBuffer) - Method in class ucar.units.StandardUnitFormat
-
Formats a unit.
- format(Factor) - Method in interface ucar.units.UnitFormat
-
Formats a Factor (a base unit/exponent pair).
- format(Factor, StringBuffer) - Method in interface ucar.units.UnitFormat
-
Appends a formatted factor to a string buffer.
- format(Unit) - Method in interface ucar.units.UnitFormat
-
Formats a unit.
- format(Unit, StringBuffer) - Method in interface ucar.units.UnitFormat
-
Appends a formatted unit to a string buffer.
- format(Factor) - Method in class ucar.units.UnitFormatImpl
-
Formats a Factor (a base unit/exponent pair).
- format(Unit) - Method in class ucar.units.UnitFormatImpl
-
Formats a unit.
- fromDerivedUnit(float) - Method in interface ucar.units.DerivableUnit
-
Converts numeric values from the underlying derived unit to this unit.
- fromDerivedUnit(double) - Method in interface ucar.units.DerivableUnit
-
Converts a numeric value from the underlying derived unit to this unit.
- fromDerivedUnit(float[], float[]) - Method in interface ucar.units.DerivableUnit
-
Converts numeric values from the underlying derived unit to this unit.
- fromDerivedUnit(double[], double[]) - Method in interface ucar.units.DerivableUnit
-
Converts numeric values from the underlying derived unit to this unit.
- fromDerivedUnit(float) - Method in class ucar.units.DerivedUnitImpl
-
Converts a numerical value to this unit from the derived unit.
- fromDerivedUnit(double) - Method in class ucar.units.DerivedUnitImpl
-
Converts a numerical value to this unit from the derived unit.
- fromDerivedUnit(float[], float[]) - Method in class ucar.units.DerivedUnitImpl
-
Converts numerical values to this unit from the derived unit.
- fromDerivedUnit(double[], double[]) - Method in class ucar.units.DerivedUnitImpl
-
Converts numerical values to this unit from the derived unit.
- fromDerivedUnit(float) - Method in class ucar.units.LogarithmicUnit
-
Converts a value in the convertible derived unit to the equivalent value
in this unit.
- fromDerivedUnit(double) - Method in class ucar.units.LogarithmicUnit
-
Converts a value in the convertible derived unit to the equivalent value
in this unit.
- fromDerivedUnit(float[], float[]) - Method in class ucar.units.LogarithmicUnit
-
Converts values in the convertible derived unit to the equivalent values
in this unit.
- fromDerivedUnit(double[], double[]) - Method in class ucar.units.LogarithmicUnit
-
Converts values in the convertible derived unit to the equivalent values
in this unit.
- fromDerivedUnit(float) - Method in class ucar.units.OffsetUnit
-
Converts a value in the convertible derived unit to the equivalent value
in this unit.
- fromDerivedUnit(double) - Method in class ucar.units.OffsetUnit
-
Converts a value in the convertible derived unit to the equivalent value
in this unit.
- fromDerivedUnit(float[], float[]) - Method in class ucar.units.OffsetUnit
-
Converts values in the convertible derived unit to the equivalent values
in this unit.
- fromDerivedUnit(double[], double[]) - Method in class ucar.units.OffsetUnit
-
Converts values in the convertible derived unit to the equivalent values
in this unit.
- fromDerivedUnit(float) - Method in class ucar.units.ScaledUnit
-
Converts a numeric value from the underlying derived unit to this unit.
- fromDerivedUnit(double) - Method in class ucar.units.ScaledUnit
-
Converts a numeric value from the underlying derived unit to this unit.
- fromDerivedUnit(float[], float[]) - Method in class ucar.units.ScaledUnit
-
Converts numeric values from the underlying derived unit to this unit.
- fromDerivedUnit(double[], double[]) - Method in class ucar.units.ScaledUnit
-
Converts numeric values from the underlying derived unit to this unit.
- GAL - Static variable in class ucar.units.SI
-
Special derived unit -- temporarily accepted for use with the SI -- for
the quantity of acceleration.
- generateParseException() - Method in class ucar.units.StandardUnitFormat
-
Generate ParseException.
- get(String) - Method in interface ucar.units.UnitDB
-
Gets the unit in the database whose name, plural, or symbol, match an
identifier.
- get(String) - Method in class ucar.units.UnitDBImpl
-
Gets a unit by either name, plural, or symbol.
- getBase() - Method in class ucar.units.Factor
-
Returns the Base entity.
- getBase() - Method in class ucar.units.LogarithmicUnit
-
Returns the logarithmic base.
- getBaseQuantity() - Method in class ucar.units.BaseUnit
-
Returns the base quantity associated with this base unit.
- getBaseUnit(BaseQuantity) - Method in interface ucar.units.UnitSystem
-
Returns the base unit corresponding to a base quantity.
- getBaseUnit(BaseQuantity) - Method in class ucar.units.UnitSystemImpl
-
Returns the base unit corresponding to a base quantity.
- getBaseUnitDB() - Method in interface ucar.units.UnitSystem
-
Returns the database of base units.
- getBaseUnitDB() - Method in class ucar.units.UnitSystemImpl
-
Returns the base unit database.
- getBeginColumn() - Method in class ucar.units.ASCII_CharStream
-
- getBeginColumn() - Method in class ucar.units.SimpleCharStream
-
Get token beginning column number.
- getBeginLine() - Method in class ucar.units.ASCII_CharStream
-
- getBeginLine() - Method in class ucar.units.SimpleCharStream
-
Get token beginning line number.
- getByName(String) - Method in interface ucar.units.UnitDB
-
Gets a unit in the database by name.
- getByName(String) - Method in class ucar.units.UnitDBImpl
-
Gets a unit by name.
- getBySymbol(String) - Method in interface ucar.units.UnitDB
-
Gets a unit in the database by symbol.
- getBySymbol(String) - Method in class ucar.units.UnitDBImpl
-
Gets a unit by symbol.
- getCanonicalString() - Method in class ucar.units.DerivedUnitImpl
-
Returns the canonical string representation of the unit.
- getCanonicalString() - Method in class ucar.units.LogarithmicUnit
-
Returns the canonical string representation of the unit.
- getCanonicalString() - Method in class ucar.units.OffsetUnit
-
Returns the canonical string representation of the unit.
- getCanonicalString() - Method in class ucar.units.ScaledUnit
-
Returns the canonical string representation of the unit.
- getCanonicalString() - Method in class ucar.units.TimeScaleUnit
-
Returns the canonical string representation of the unit.
- getCanonicalString() - Method in interface ucar.units.Unit
-
Returns the canonical string representation of the unit.
- getColumn() - Method in class ucar.units.ASCII_CharStream
-
Deprecated.
- getColumn() - Method in class ucar.units.SimpleCharStream
-
Deprecated.
- getConverterTo(Unit) - Method in class ucar.units.TimeScaleUnit
-
Returns a Converter for converting numeric values from this unit to
another unit.
- getConverterTo(Unit) - Method in interface ucar.units.Unit
-
Gets a Converter that converts numeric values from this unit to another,
compatible unit.
- getConverterTo(Unit) - Method in class ucar.units.UnitImpl
-
Gets a Converter for converting numeric values from this unit to another,
compatible unit.
- getDerivedUnit() - Method in interface ucar.units.DerivableUnit
-
Returns the derived unit that underlies this unit.
- getDerivedUnit() - Method in class ucar.units.DerivedUnitImpl
-
Returns the derived unit that is convertible with this unit.
- getDerivedUnit() - Method in class ucar.units.LogarithmicUnit
-
Returns the derived unit that is convertible with this unit.
- getDerivedUnit() - Method in class ucar.units.OffsetUnit
-
Returns the derived unit that is convertible with this unit.
- getDerivedUnit() - Method in class ucar.units.ScaledUnit
-
Gets the derived unit underlying this unit.
- getDerivedUnit() - Method in class ucar.units.TimeScaleUnit
-
Returns the derived unit underlying the reference time unit.
- getDerivedUnit() - Method in interface ucar.units.Unit
-
Returns the derived unit that underlies this unit.
- getDimension() - Method in interface ucar.units.DerivedUnit
-
Returns the unit dimension of this derived unit.
- getDimension() - Method in class ucar.units.DerivedUnitImpl
-
Returns the unit dimension of this derived unit.
- getEndColumn() - Method in class ucar.units.ASCII_CharStream
-
- getEndColumn() - Method in class ucar.units.SimpleCharStream
-
Get token end column number.
- getEndLine() - Method in class ucar.units.ASCII_CharStream
-
- getEndLine() - Method in class ucar.units.SimpleCharStream
-
Get token end line number.
- getExponent() - Method in class ucar.units.Factor
-
Returns the exponent of the Base entity.
- getFactors() - Method in class ucar.units.Dimension
-
Returns the array of Factor-s constituting this dimension.
- getID() - Method in interface ucar.units.Base
-
Returns the identifier for the base entity.
- getID() - Method in class ucar.units.BaseQuantity
-
Returns the identifier for the base quantity.
- getID() - Method in class ucar.units.BaseUnit
-
Returns the identifier for this base unit.
- getID() - Method in class ucar.units.Factor
-
Returns the identifier of the Base entity.
- getID() - Method in class ucar.units.Prefix
-
Gets the prefix identifier.
- GetImage() - Method in class ucar.units.ASCII_CharStream
-
- GetImage() - Method in class ucar.units.SimpleCharStream
-
Get token literal value.
- getIterator() - Method in interface ucar.units.UnitDB
-
Returns an iterator over the units of the database.
- getIterator() - Method in class ucar.units.UnitDBImpl
-
Gets an iterator over the units in the database.
- getLine() - Method in class ucar.units.ASCII_CharStream
-
Deprecated.
- getLine() - Method in class ucar.units.SimpleCharStream
-
Deprecated.
- getMessage() - Method in exception ucar.units.ParseException
-
This method has the standard behavior when this object has been
created using the standard constructors.
- getMessage() - Method in error ucar.units.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getName() - Method in class ucar.units.BaseQuantity
-
Returns the name of the base quantity.
- getName() - Method in interface ucar.units.Unit
-
Gets the name of this unit.
- getName() - Method in class ucar.units.UnitID
-
Returns the name of the unit.
- getName() - Method in class ucar.units.UnitImpl
-
Gets the name of the unit.
- getName() - Method in class ucar.units.UnitName
-
Returns the name.
- getName() - Method in class ucar.units.UnitSymbol
-
Returns the name of the unit.
- getNextToken() - Method in class ucar.units.StandardUnitFormat
-
Get the next Token.
- getNextToken() - Method in class ucar.units.StandardUnitFormatTokenManager
-
Get the next Token.
- getOffset() - Method in class ucar.units.OffsetUnit
-
Returns the offset.
- getOrCreate(UnitName, BaseQuantity) - Static method in class ucar.units.BaseUnit
-
Factory method for creating a new BaseUnit or obtaining a
previously-created one.
- getOrigin() - Method in class ucar.units.TimeScaleUnit
-
Returns the time origin.
- getPlural() - Method in interface ucar.units.Unit
-
Gets the plural form of the name of this unit.
- getPlural() - Method in class ucar.units.UnitID
-
Returns the plural form of the name of the unit.
- getPlural() - Method in class ucar.units.UnitImpl
-
Gets the plural form of the name of the unit.
- getPlural() - Method in class ucar.units.UnitName
-
Returns the plural form of the unit name.
- getPlural() - Method in class ucar.units.UnitSymbol
-
Returns the plural form of the name of the unit.
- getPrefixByName(String) - Method in interface ucar.units.PrefixDB
-
Gets a prefix from the database by name.
- getPrefixByName(String) - Method in class ucar.units.PrefixDBImpl
-
Gets a prefix by name.
- getPrefixBySymbol(String) - Method in interface ucar.units.PrefixDB
-
Gets a prefix from the database by symbol.
- getPrefixBySymbol(String) - Method in class ucar.units.PrefixDBImpl
-
Gets a prefix by symbol.
- getPrefixByValue(double) - Method in interface ucar.units.PrefixDB
-
Gets a prefix from the database by value.
- getPrefixByValue(double) - Method in class ucar.units.PrefixDBImpl
-
Gets a prefix by value.
- getQuantityDimension() - Method in interface ucar.units.DerivedUnit
-
Return the quantity dimension of this derived unit.
- getQuantityDimension() - Method in class ucar.units.DerivedUnitImpl
-
Returns the quantity dimension of this derived unit.
- getQuantityDimension() - Method in class ucar.units.UnitDimension
-
Returns the corresponding quantity dimension.
- getRank() - Method in class ucar.units.Dimension
-
Returns the rank of this dimension.
- getReference() - Method in class ucar.units.LogarithmicUnit
-
Returns the reference level.
- getScale() - Method in class ucar.units.ScaledUnit
-
Returns the multiplicative factor.
- GetSuffix(int) - Method in class ucar.units.ASCII_CharStream
-
- GetSuffix(int) - Method in class ucar.units.SimpleCharStream
-
Get the suffix.
- getSymbol() - Method in class ucar.units.BaseQuantity
-
Returns the symbol of the base quantity.
- getSymbol() - Method in interface ucar.units.Unit
-
Gets the symbol of this unit.
- getSymbol() - Method in class ucar.units.UnitID
-
Returns the symbol for the unit.
- getSymbol() - Method in class ucar.units.UnitImpl
-
Gets the symbol for the unit.
- getSymbol() - Method in class ucar.units.UnitName
-
Returns the symbol.
- getSymbol() - Method in class ucar.units.UnitSymbol
-
Returns the symbol for the unit.
- getTabSize(int) - Method in class ucar.units.SimpleCharStream
-
- getToken(int) - Method in class ucar.units.StandardUnitFormat
-
Get the specific Token.
- getUnit() - Method in class ucar.units.OffsetUnit
-
Returns the reference unit.
- getUnit() - Method in class ucar.units.ScaledUnit
-
Returns the reference unit.
- getUnit() - Method in class ucar.units.TimeScaleUnit
-
Returns the reference unit.
- getUnitDB() - Method in interface ucar.units.UnitSystem
-
Returns the complete database of units (base units and
derived units acceptable for use in the system of units.
- getUnitDB() - Method in class ucar.units.UnitSystemImpl
-
Returns the complete unit database.
- getUnitName() - Method in interface ucar.units.Unit
-
Gets the identifier of this unit.
- getUnitName() - Method in class ucar.units.UnitImpl
-
Gets the identifier of this unit.
- getValue() - Method in class ucar.units.Prefix
-
Gets the prefix value.
- getValue() - Method in class ucar.units.Token
-
An optional attribute value of the Token.
- GRAY - Static variable in class ucar.units.SI
-
Special derived unit for the quantity of absorbed dose, specific energy
(imparted), or kerms.
- image - Variable in class ucar.units.Token
-
The string image of the token.
- inBuf - Variable in class ucar.units.SimpleCharStream
-
- input_stream - Variable in class ucar.units.StandardUnitFormatTokenManager
-
- inputStream - Variable in class ucar.units.SimpleCharStream
-
- instance() - Static method in class ucar.units.PrefixDBManager
-
Gets the current prefix database.
- instance() - Static method in class ucar.units.SI
-
Returns an instance of the SI system of units.
- instance() - Static method in class ucar.units.StandardPrefixDB
-
Gets an instance of this database.
- instance() - Static method in class ucar.units.StandardUnitDB
-
Gets an instance of this database.
- instance() - Static method in class ucar.units.StandardUnitFormat
-
Returns an instance of this class.
- instance() - Static method in class ucar.units.UnitDBManager
-
Gets the default unit database.
- instance() - Static method in class ucar.units.UnitFormatManager
-
Returns an instance of the default unit format.
- instance() - Static method in class ucar.units.UnitSystemManager
-
Returns an instance of the system of units.
- integer() - Method in class ucar.units.StandardUnitFormat
-
- isCompatible(Unit) - Method in class ucar.units.DerivedUnitImpl
-
Indicates if values in this unit are convertible with another unit.
- isCompatible(Unit) - Method in class ucar.units.TimeScaleUnit
-
Indicates if numeric values in this unit are convertible to another unit.
- isCompatible(Unit) - Method in interface ucar.units.Unit
-
Indicates if this unit is compatible with another unit.
- isCompatible(Unit) - Method in class ucar.units.UnitImpl
-
Indicates if numeric values in this unit are convertible with another
unit.
- isDimensionless() - Method in interface ucar.units.Base
-
Indicates if this base entity is dimensionless.
- isDimensionless() - Method in class ucar.units.BaseQuantity
-
Indicates if this base quantity is dimensionless.
- isDimensionless() - Method in class ucar.units.BaseUnit
-
Indicates if this base unit is dimensionless.
- isDimensionless() - Method in class ucar.units.DerivedUnitImpl
-
Indicates if this derived unit is dimensionless.
- isDimensionless() - Method in class ucar.units.Dimension
-
Indicates if this dimension is dimensionless.
- isDimensionless() - Method in class ucar.units.Factor
-
Indicates if this factor is dimensionless.
- isDimensionless() - Method in class ucar.units.LogarithmicUnit
-
Indicates if this unit is dimensionless.
- isDimensionless() - Method in class ucar.units.OffsetUnit
-
Indicates if this unit is dimensionless.
- isDimensionless() - Method in class ucar.units.RegularBaseQuantity
-
Indicates if this base quantity is dimensionless.
- isDimensionless() - Method in class ucar.units.ScaledUnit
-
Indicates if this unit is dimensionless.
- isDimensionless() - Method in class ucar.units.SupplementaryBaseQuantity
-
Indicates whether or not this quantity is dimensionless.
- isDimensionless() - Method in class ucar.units.TimeScaleUnit
-
Indicates if this unit is dimensionless.
- isDimensionless() - Method in interface ucar.units.Unit
-
Indicates if values in this unit are dimensionless.
- isDimensionless() - Method in class ucar.units.UnknownBaseQuantity
-
Indicates if this quantity is dimensionless.
- isDimensionless() - Method in class ucar.units.UnknownUnit
-
Indicates if this unit is dimensionless.
- isReciprocalOf(DerivedUnit) - Method in interface ucar.units.DerivedUnit
-
Indicates if this derived unit is the reciprocal of another derived
unit (e.g.
- isReciprocalOf(DerivedUnit) - Method in class ucar.units.DerivedUnitImpl
-
Indicates if this derived unit is the reciprocal of another derived unit
(e.g.
- isReciprocalOf(Dimension) - Method in class ucar.units.Dimension
-
Indicates if this Dimension is the reciprocal of another dimension.
- isReciprocalOf(Factor) - Method in class ucar.units.Factor
-
Indicates if this Factor is the reciprocal of another Factor.
- iterator() - Method in interface ucar.units.PrefixDB
-
Gets an iterator over the entries in the database.
- iterator() - Method in class ucar.units.PrefixDBImpl
-
Gets an iterator over the prefixes in the database.
- LB - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- LENGTH - Static variable in class ucar.units.BaseQuantity
-
The base quantity of length.
- length() - Method in class ucar.units.Prefix
-
Return the length of the prefix identifier.
- LENGTH_UNIT - Static variable in class ucar.units.SI
-
The unit corresponding to the quantity of length.
- LETTER - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- LexicalError(boolean, int, int, int, String, char) - Static method in error ucar.units.TokenMgrError
-
Returns a detailed message for the Error when it is thrown by the
token manager to indicate a lexical error.
- lexStateNames - Static variable in class ucar.units.StandardUnitFormatTokenManager
-
Lexer state names.
- LG - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- line - Variable in class ucar.units.SimpleCharStream
-
- LITER - Static variable in class ucar.units.SI
-
Special derived unit -- accepted for use with the SI -- for the quantity
of volume.
- LITRE - Static variable in class ucar.units.SI
-
Synomym for LITER.
- LN - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- log(double) - Method in interface ucar.units.Unit
-
Returns a logarithmic unit whose reference level is equal to this unit.
- log(double) - Method in class ucar.units.UnitImpl
-
- LogarithmicUnit - Class in ucar.units
-
Provides support for units that are based on a logarithm of the ratio of a
physical quantity to an underlying reference level.
- LogarithmicUnit(Unit, double) - Constructor for class ucar.units.LogarithmicUnit
-
Constructs from a reference level and a logarithmic base.
- LogarithmicUnit(Unit, double, UnitName) - Constructor for class ucar.units.LogarithmicUnit
-
Constructs from a reference level, a logarithmic base, and a unit
identifier.
- logExpr(UnitDB) - Method in class ucar.units.StandardUnitFormat
-
- longFormat(Unit, StringBuffer) - Method in class ucar.units.StandardUnitFormat
-
Formats a unit in the underlying system of units.
- longFormat(Unit) - Method in interface ucar.units.UnitFormat
-
Formats a unit using a long form.
- longFormat(Unit, StringBuffer) - Method in interface ucar.units.UnitFormat
-
Appends a unit formatted according to the long form to a string buffer.
- longFormat(Unit) - Method in class ucar.units.UnitFormatImpl
-
Formats a unit using a long form.
- LPAREN - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- LUMEN - Static variable in class ucar.units.SI
-
Special derived unit for the quantity of luminous flux.
- LUMINOUS_INTENSITY - Static variable in class ucar.units.BaseQuantity
-
The base quantity of luminous intensity.
- LUMINOUS_INTENSITY_UNIT - Static variable in class ucar.units.SI
-
The unit corresponding to the quantity of luminous intensity.
- LUX - Static variable in class ucar.units.SI
-
Special derived unit for the quantity of illuminance.
- makeLabel(String) - Method in interface ucar.units.Unit
-
Makes a label for a named quantity.
- makeLabel(String) - Method in class ucar.units.UnitImpl
-
Returns a label for a quantity in this unit.
- makePlural(String) - Method in class ucar.units.UnitName
-
Returns the plural form of a name.
- MASS - Static variable in class ucar.units.BaseQuantity
-
The base quantity of mass.
- MASS_UNIT - Static variable in class ucar.units.SI
-
The unit corresponding to the quantity of mass.
- maxNextCharInd - Variable in class ucar.units.SimpleCharStream
-
- METER - Static variable in class ucar.units.SI
-
Base unit of length.
- METRE - Static variable in class ucar.units.SI
-
Synonym for METER.
- METRIC_TON - Static variable in class ucar.units.SI
-
Special derived unit -- accepted for use with the SI -- for the quantity
of mass.
- MINUS - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- MINUTE - Static variable in class ucar.units.SI
-
Special derived unit -- accepted for use with the SI -- for the quantity
of time.
- MOLE - Static variable in class ucar.units.SI
-
Base unit of amount of substance.
- mult(Dimension) - Method in class ucar.units.Dimension
-
Multiplies this dimension by another dimension.
- multiplyBy(double) - Method in class ucar.units.OffsetUnit
-
- multiplyBy(QuantityDimension) - Method in class ucar.units.QuantityDimension
-
Multiplies this quantity dimension by another quantity dimension.
- multiplyBy(double) - Method in class ucar.units.ScaledUnit
-
- multiplyBy(Unit) - Method in interface ucar.units.Unit
-
Multiplies this unit by another.
- multiplyBy(double) - Method in interface ucar.units.Unit
-
Multiplies this unit by a scale factor.
- multiplyBy(UnitDimension) - Method in class ucar.units.UnitDimension
-
Multiplies this unit dimension by another.
- multiplyBy(Unit) - Method in class ucar.units.UnitImpl
-
Multiplies this unit by another.
- multiplyBy(double) - Method in class ucar.units.UnitImpl
-
- MultiplyException - Exception in ucar.units
-
Provides support for unit multiplication failures.
- MultiplyException(Unit) - Constructor for exception ucar.units.MultiplyException
-
Constructs from a unit that can't be multiplied.
- MultiplyException(Unit, Unit) - Constructor for exception ucar.units.MultiplyException
-
Constructs from two units.
- MultiplyException(double, Unit) - Constructor for exception ucar.units.MultiplyException
-
Constructs from a scale factor and a unit.
- MyConverter(TimeScaleUnit, Unit) - Constructor for class ucar.units.TimeScaleUnit.MyConverter
-
- MyConverter(Unit, Unit) - Constructor for class ucar.units.UnitImpl.MyConverter
-
- myDivideBy(Unit) - Method in class ucar.units.DerivedUnitImpl
-
Divides this derived unit by another.
- myDivideBy(Unit) - Method in class ucar.units.LogarithmicUnit
-
Divide this unit by another unit.
- myDivideBy(Unit) - Method in class ucar.units.OffsetUnit
-
Divide this unit by another unit.
- myDivideBy(Unit) - Method in class ucar.units.ScaledUnit
-
Divides this unit by another unit.
- myDivideBy(Unit) - Method in class ucar.units.TimeScaleUnit
-
Divides this unit by another unit.
- myDivideBy(Unit) - Method in class ucar.units.UnitImpl
-
Divides this unit by another.
- myDivideInto(Unit) - Method in class ucar.units.DerivedUnitImpl
-
Divides this derived unit into another.
- myDivideInto(Unit) - Method in class ucar.units.LogarithmicUnit
-
Divide this unit into another unit.
- myDivideInto(Unit) - Method in class ucar.units.OffsetUnit
-
Divide this unit into another unit.
- myDivideInto(Unit) - Method in class ucar.units.ScaledUnit
-
Divides this unit into another unit.
- myDivideInto(Unit) - Method in class ucar.units.TimeScaleUnit
-
Divides this unit into another unit.
- myDivideInto(Unit) - Method in class ucar.units.UnitImpl
-
Divides this unit into another.
- myMultiplyBy(Unit) - Method in class ucar.units.DerivedUnitImpl
-
Multiplies this derived unit by another.
- myMultiplyBy(Unit) - Method in class ucar.units.LogarithmicUnit
-
Multiply this unit by another unit.
- myMultiplyBy(Unit) - Method in class ucar.units.OffsetUnit
-
Multiply this unit by another unit.
- myMultiplyBy(Unit) - Method in class ucar.units.ScaledUnit
-
Multiplies this unit by another unit.
- myMultiplyBy(Unit) - Method in class ucar.units.TimeScaleUnit
-
Multiplies this unit by another unit.
- myMultiplyBy(Unit) - Method in class ucar.units.UnitImpl
-
Multiplies this unit by another.
- myRaiseTo(int) - Method in class ucar.units.DerivedUnitImpl
-
Raises this derived unit to a power.
- myRaiseTo(int) - Method in class ucar.units.LogarithmicUnit
-
Raise this unit to a power.
- myRaiseTo(int) - Method in class ucar.units.OffsetUnit
-
Raise this unit to a power.
- myRaiseTo(int) - Method in class ucar.units.ScaledUnit
-
Raises this unit to a power.
- myRaiseTo(int) - Method in class ucar.units.TimeScaleUnit
-
Raises this unit to a power.
- myRaiseTo(int) - Method in class ucar.units.UnitImpl
-
Raises this unit to a power.
- parse(String, UnitDB) - Method in class ucar.units.StandardUnitFormat
-
Decodes a unit specification.
- parse(String) - Method in interface ucar.units.UnitFormat
-
Parses a unit specification.
- parse(String, UnitDB) - Method in interface ucar.units.UnitFormat
-
Parses a unit specification.
- parse(String) - Method in class ucar.units.UnitFormatImpl
-
Parses a unit specification.
- ParseException - Exception in ucar.units
-
This exception is thrown when parse errors are encountered.
- ParseException(Token, int[][], String[]) - Constructor for exception ucar.units.ParseException
-
This constructor is used by the method "generateParseException"
in the generated parser.
- ParseException() - Constructor for exception ucar.units.ParseException
-
The following constructors are for use by you for whatever
purpose you can think of.
- ParseException(String) - Constructor for exception ucar.units.ParseException
-
Constructor with message.
- PASCAL - Static variable in class ucar.units.SI
-
Special derived unit for the quantity of pressure or stress.
- PERIOD - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- PLANE_ANGLE - Static variable in class ucar.units.BaseQuantity
-
The base quantity of plane angle.
- PLANE_ANGLE_UNIT - Static variable in class ucar.units.SI
-
The unit corresponding to the quantity of plane angle.
- PLUS - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- pow(int) - Method in class ucar.units.Dimension
-
Raises this dimension to a power.
- pow(int) - Method in class ucar.units.Factor
-
Raises this Factor to a power.
- powerExpr(UnitDB) - Method in class ucar.units.StandardUnitFormat
-
- Prefix - Class in ucar.units
-
Provides support for unit prefixes (e.g.
- Prefix(String, double) - Constructor for class ucar.units.Prefix
-
Constructs from an identifier and a value.
- PrefixDB - Interface in ucar.units
-
Interface for a database of unit prefixes.
- PrefixDBAccessException - Exception in ucar.units
-
Provides support for prefix database access failures.
- PrefixDBAccessException(String) - Constructor for exception ucar.units.PrefixDBAccessException
-
Constructs from an error message.
- PrefixDBException - Exception in ucar.units
-
Provides support for the general class of prefix database failures.
- PrefixDBException() - Constructor for exception ucar.units.PrefixDBException
-
Constructs from nothing.
- PrefixDBException(String) - Constructor for exception ucar.units.PrefixDBException
-
Constructs from an error message.
- PrefixDBException(Exception) - Constructor for exception ucar.units.PrefixDBException
-
Constructs from the exception that caused this exception to be thrown.
- PrefixDBException(String, Exception) - Constructor for exception ucar.units.PrefixDBException
-
Constructs from an error message and the exception that caused this
exception to be thrown.
- PrefixDBImpl - Class in ucar.units
-
Provides a concrete implementation of a database of unit prefixes.
- PrefixDBImpl() - Constructor for class ucar.units.PrefixDBImpl
-
Constructs from nothing.
- PrefixDBManager - Class in ucar.units
-
Provides support for managing a database of unit prefixes.
- PrefixDBManager() - Constructor for class ucar.units.PrefixDBManager
-
- PrefixExistsException - Exception in ucar.units
-
Provides support for prefix database failures.
- PrefixExistsException(Prefix, Prefix) - Constructor for exception ucar.units.PrefixExistsException
-
Constructs from an old prefix and a new prefix.
- PrefixName - Class in ucar.units
-
Provides support for prefix names and numeric values.
- PrefixName(String, double) - Constructor for class ucar.units.PrefixName
-
Constructs from a name and a numeric value.
- PrefixSymbol - Class in ucar.units
-
Provides support for prefix symbols.
- PrefixSymbol(String, double) - Constructor for class ucar.units.PrefixSymbol
-
Constructs from a name and a numeric value.
- prevCharIsCR - Variable in class ucar.units.SimpleCharStream
-
- prevCharIsLF - Variable in class ucar.units.SimpleCharStream
-
- productExpr(UnitDB) - Method in class ucar.units.StandardUnitFormat
-
- ScaledUnit - Class in ucar.units
-
Provides support for a unit that is a mutiplicative factor of a reference
unit.
- ScaledUnit(double) - Constructor for class ucar.units.ScaledUnit
-
Constructs from a multiplicative factor.
- ScaledUnit(double, Unit) - Constructor for class ucar.units.ScaledUnit
-
Constructs from a multiplicative factor and a reference unit.
- ScaledUnit(double, Unit, UnitName) - Constructor for class ucar.units.ScaledUnit
-
Constructs from a multiplicative factor, a reference unit, and an
identifier.
- SECOND - Static variable in class ucar.units.SI
-
Base unit of time.
- setDebugStream(PrintStream) - Method in class ucar.units.StandardUnitFormatTokenManager
-
Set debug output.
- setDimension(UnitDimension) - Method in class ucar.units.DerivedUnitImpl
-
Sets the unit dimension of this derived unit.
- setInstance(PrefixDB) - Static method in class ucar.units.PrefixDBManager
-
Sets the current prefix database.
- setInstance(UnitDB) - Static method in class ucar.units.UnitDBManager
-
Sets the default unit database.
- setInstance(UnitFormat) - Static method in class ucar.units.UnitFormatManager
-
Sets the instance of the default unit format.
- setInstance(UnitSystem) - Static method in class ucar.units.UnitSystemManager
-
Sets the system of units.
- setTabSize(int) - Method in class ucar.units.SimpleCharStream
-
- SHIFT - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- ShiftException - Exception in ucar.units
-
Provides support for failure to raise a unit to a power.
- ShiftException(Unit, double) - Constructor for exception ucar.units.ShiftException
-
Constructs from the unit and the origin.
- ShiftException(Unit, Date) - Constructor for exception ucar.units.ShiftException
-
Constructs from the unit and the origin.
- shiftExpr(UnitDB) - Method in class ucar.units.StandardUnitFormat
-
- shiftTo(double) - Method in class ucar.units.OffsetUnit
-
- shiftTo(double) - Method in class ucar.units.TimeScaleUnit
-
- shiftTo(Date) - Method in class ucar.units.TimeScaleUnit
-
- shiftTo(double) - Method in interface ucar.units.Unit
-
Returns a unit identical to this instance but whose origin (i.e., zero
value) has been shifted to the given value.
- shiftTo(Date) - Method in interface ucar.units.Unit
-
Returns a unit identical to this instance but whose origin (i.e., zero
value) has been shifted to the given time.
- shiftTo(double) - Method in class ucar.units.UnitImpl
-
- shiftTo(Date) - Method in class ucar.units.UnitImpl
-
- SI - Class in ucar.units
-
Provides support for the International System of Units (SI).
- SIEMENS - Static variable in class ucar.units.SI
-
Special derived unit for the quantity of electric conductance.
- SIEVERT - Static variable in class ucar.units.SI
-
Special derived unit for the quantity of dose equivalent, ambient dose
equivalent, directional dose equivalent, personal dose equivalent, or
equivalent dose.
- sign() - Method in class ucar.units.StandardUnitFormat
-
- SIGN - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- SimpleCharStream - Class in ucar.units
-
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
- SimpleCharStream(Reader, int, int, int) - Constructor for class ucar.units.SimpleCharStream
-
Constructor.
- SimpleCharStream(Reader, int, int) - Constructor for class ucar.units.SimpleCharStream
-
Constructor.
- SimpleCharStream(Reader) - Constructor for class ucar.units.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, String, int, int, int) - Constructor for class ucar.units.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, int, int, int) - Constructor for class ucar.units.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, String, int, int) - Constructor for class ucar.units.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, int, int) - Constructor for class ucar.units.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream, String) - Constructor for class ucar.units.SimpleCharStream
-
Constructor.
- SimpleCharStream(InputStream) - Constructor for class ucar.units.SimpleCharStream
-
Constructor.
- SOLID_ANGLE - Static variable in class ucar.units.BaseQuantity
-
The base quantity of solid angle.
- SOLID_ANGLE_UNIT - Static variable in class ucar.units.SI
-
The unit corresponding to the quantity of solid angle.
- SP - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- specialConstructor - Variable in exception ucar.units.ParseException
-
This variable determines which constructor was used to create
this object and thereby affects the semantics of the
"getMessage" method (see below).
- specialToken - Variable in class ucar.units.Token
-
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
- SpecificationException - Exception in ucar.units
-
Provides support for errors in unit string specifications.
- SpecificationException(String) - Constructor for exception ucar.units.SpecificationException
-
Constructs from an error message.
- SpecificationException(String, String) - Constructor for exception ucar.units.SpecificationException
-
Constructs from the string to be parsed and an error message.
- SpecificationException(String, Throwable) - Constructor for exception ucar.units.SpecificationException
-
- StandardPrefixDB - Class in ucar.units
-
Provides support for a database of standard unit prefixes.
- StandardUnitDB - Class in ucar.units
-
Provides support for a database of standard units.
- StandardUnitFormat - Class in ucar.units
-
Standard formatter/parser for unit specifications.
- StandardUnitFormat(InputStream) - Constructor for class ucar.units.StandardUnitFormat
-
Constructor with InputStream.
- StandardUnitFormat(InputStream, String) - Constructor for class ucar.units.StandardUnitFormat
-
Constructor with InputStream and supplied encoding
- StandardUnitFormat(Reader) - Constructor for class ucar.units.StandardUnitFormat
-
Constructor.
- StandardUnitFormat(StandardUnitFormatTokenManager) - Constructor for class ucar.units.StandardUnitFormat
-
Constructor with generated Token Manager.
- StandardUnitFormatConstants - Interface in ucar.units
-
Token literal values and constants.
- StandardUnitFormatTokenManager - Class in ucar.units
-
Token Manager.
- StandardUnitFormatTokenManager(SimpleCharStream) - Constructor for class ucar.units.StandardUnitFormatTokenManager
-
Constructor.
- StandardUnitFormatTokenManager(SimpleCharStream, int) - Constructor for class ucar.units.StandardUnitFormatTokenManager
-
Constructor.
- STAR - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- staticFlag - Static variable in class ucar.units.SimpleCharStream
-
Whether parser is static.
- STERADIAN - Static variable in class ucar.units.SI
-
Base unit of solid angle.
- SupplementaryBaseQuantity - Class in ucar.units
-
Provides support for supplementary base quantities.
- SupplementaryBaseQuantity(String, String) - Constructor for class ucar.units.SupplementaryBaseQuantity
-
Constructs from a name and symbol.
- SupplementaryBaseQuantity(String, String, boolean) - Constructor for class ucar.units.SupplementaryBaseQuantity
-
Constructs from a name and symbol.
- SwitchTo(int) - Method in class ucar.units.StandardUnitFormatTokenManager
-
Switch to specified lex state.
- SYMBOL - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- symbolCount() - Method in class ucar.units.UnitDBImpl
-
Return the number of symbols in this database.
- T - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- tabSize - Variable in class ucar.units.SimpleCharStream
-
- tenFactor() - Method in class ucar.units.StandardUnitFormat
-
- TESLA - Static variable in class ucar.units.SI
-
Special derived unit for the quantity of magnetic flux density.
- THERMODYNAMIC_TEMPERATURE - Static variable in class ucar.units.BaseQuantity
-
The base quantity of themodynamic temperature.
- THERMODYNAMIC_TEMPERATURE_UNIT - Static variable in class ucar.units.SI
-
The unit corresponding to the quantity of thermodynamic temperature.
- TIME - Static variable in class ucar.units.BaseQuantity
-
The base quantity of time.
- TIME_UNIT - Static variable in class ucar.units.SI
-
The unit corresponding to the quantity of time.
- timeOriginExpr() - Method in class ucar.units.StandardUnitFormat
-
- TimeScaleUnit - Class in ucar.units
-
Provides support for a reference time unit whose origin is at a certain time.
- TimeScaleUnit(Unit, Date) - Constructor for class ucar.units.TimeScaleUnit
-
Constructs from a reference unit and a time origin.
- TimeScaleUnit(Unit, Date, UnitName) - Constructor for class ucar.units.TimeScaleUnit
-
Constructs from a reference unit, a time origin, and an identifier.
- TimeScaleUnit.MyConverter - Class in ucar.units
-
Provides support for Converter-s.
- toDerivedUnit(float) - Method in interface ucar.units.DerivableUnit
-
Converts a numeric value in this unit to the underlying derived unit.
- toDerivedUnit(double) - Method in interface ucar.units.DerivableUnit
-
Converts a numeric value in this unit to the underlying derived unit.
- toDerivedUnit(float[], float[]) - Method in interface ucar.units.DerivableUnit
-
Converts numeric values in this unit to the underlying derived unit.
- toDerivedUnit(double[], double[]) - Method in interface ucar.units.DerivableUnit
-
Converts numeric values in this unit to the underlying derived unit.
- toDerivedUnit(float) - Method in class ucar.units.DerivedUnitImpl
-
Converts a numerical value from this unit to the derived unit.
- toDerivedUnit(double) - Method in class ucar.units.DerivedUnitImpl
-
Converts a numerical value from this unit to the derived unit.
- toDerivedUnit(float[], float[]) - Method in class ucar.units.DerivedUnitImpl
-
Converts numerical values from this unit to the derived unit.
- toDerivedUnit(double[], double[]) - Method in class ucar.units.DerivedUnitImpl
-
Converts numerical values from this unit to the derived unit.
- toDerivedUnit(float) - Method in class ucar.units.LogarithmicUnit
-
Converts a value in this unit to the equivalent value in the convertible
derived unit.
- toDerivedUnit(double) - Method in class ucar.units.LogarithmicUnit
-
Converts a value in this unit to the equivalent value in the convertible
derived unit.
- toDerivedUnit(float[], float[]) - Method in class ucar.units.LogarithmicUnit
-
Converts values in this unit to the equivalent values in the convertible
derived unit.
- toDerivedUnit(double[], double[]) - Method in class ucar.units.LogarithmicUnit
-
Converts values in this unit to the equivalent values in the convertible
derived unit.
- toDerivedUnit(float) - Method in class ucar.units.OffsetUnit
-
Converts a value in this unit to the equivalent value in the convertible
derived unit.
- toDerivedUnit(double) - Method in class ucar.units.OffsetUnit
-
Converts a value in this unit to the equivalent value in the convertible
derived unit.
- toDerivedUnit(float[], float[]) - Method in class ucar.units.OffsetUnit
-
Converts values in this unit to the equivalent values in the convertible
derived unit.
- toDerivedUnit(double[], double[]) - Method in class ucar.units.OffsetUnit
-
Converts values in this unit to the equivalent values in the convertible
derived unit.
- toDerivedUnit(float) - Method in class ucar.units.ScaledUnit
-
Converts a numeric value from this unit to the underlying derived unit.
- toDerivedUnit(double) - Method in class ucar.units.ScaledUnit
-
Converts a numeric value from this unit to the underlying derived unit.
- toDerivedUnit(float[], float[]) - Method in class ucar.units.ScaledUnit
-
Converts numeric values from this unit to the underlying derived unit.
- toDerivedUnit(double[], double[]) - Method in class ucar.units.ScaledUnit
-
Converts numeric values from this unit to the underlying derived unit.
- token - Variable in class ucar.units.StandardUnitFormat
-
Current token.
- Token - Class in ucar.units
-
Describes the input token stream.
- Token() - Constructor for class ucar.units.Token
-
No-argument constructor
- Token(int) - Constructor for class ucar.units.Token
-
Constructs a new token for the specified Image.
- Token(int, String) - Constructor for class ucar.units.Token
-
Constructs a new token for the specified Image and Kind.
- token_source - Variable in class ucar.units.StandardUnitFormat
-
Generated Token Manager.
- tokenImage - Variable in exception ucar.units.ParseException
-
This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred.
- tokenImage - Static variable in interface ucar.units.StandardUnitFormatConstants
-
Literal token values.
- TokenMgrError - Error in ucar.units
-
Token Manager Error.
- TokenMgrError() - Constructor for error ucar.units.TokenMgrError
-
No arg constructor.
- TokenMgrError(String, int) - Constructor for error ucar.units.TokenMgrError
-
Constructor with message and reason.
- TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error ucar.units.TokenMgrError
-
Full Constructor.
- TONNE - Static variable in class ucar.units.SI
-
Synomym for METRIC_TON.
- toString() - Method in class ucar.units.BaseQuantity
-
Returns the string representation of the base quantity.
- toString() - Method in class ucar.units.BaseUnit
-
Returns the string representation of this base unit.
- toString() - Method in class ucar.units.DerivedUnitImpl
-
Returns a string representation of this unit.
- toString() - Method in class ucar.units.Dimension
-
Returns the string representation of this dimension.
- toString() - Method in class ucar.units.Factor
-
Returns the string representation of this Factor.
- toString() - Method in class ucar.units.LogarithmicUnit
-
Returns the string representation of this unit.
- toString() - Method in class ucar.units.OffsetUnit
-
Returns the string representation of this unit.
- toString() - Method in class ucar.units.Prefix
-
Returns the string representation of this prefix.
- toString() - Method in interface ucar.units.PrefixDB
-
Gets a string representation of this database.
- toString() - Method in class ucar.units.PrefixDBImpl
-
Returns a string representation of this database.
- toString() - Method in class ucar.units.ScaledUnit
-
Returns the string representation of this unit.
- toString() - Method in class ucar.units.TimeScaleUnit
-
Returns the string representation of this unit.
- toString() - Method in class ucar.units.Token
-
Returns the image.
- toString() - Method in interface ucar.units.Unit
-
Returns the string representation of the unit.
- toString() - Method in interface ucar.units.UnitDB
-
Returns the string representation of the database.
- toString() - Method in class ucar.units.UnitDBImpl
-
Returns the string representation of this database.
- toString() - Method in class ucar.units.UnitID
-
Returns the string representation of this identifier.
- toString() - Method in class ucar.units.UnitImpl
-
Returns the string representation of this unit.
- toString() - Method in class ucar.units.UnitName
-
Returns the string representation of this identifier.
- toString() - Method in class ucar.units.UnitSymbol
-
Returns the string representation of this identifier.
- ucar.units - package ucar.units
-
Provides support for parsing and formatting string unit specification,
converting numerical values between compatible units, and performing arithmetic
on units (such as dividing one unit by another).
- UINT - Static variable in interface ucar.units.StandardUnitFormatConstants
-
RegularExpression Id.
- Unit - Interface in ucar.units
-
Interface for units.
- UnitClassException - Exception in ucar.units
-
Provides support for a Unit that is an instance of an unknown class.
- UnitClassException(Unit) - Constructor for exception ucar.units.UnitClassException
-
Constructs from the unit that's an instance of an unknown class.
- UnitDB - Interface in ucar.units
-
Interface for a unit database.
- UnitDBAccessException - Exception in ucar.units
-
Provides support for failure to access unit database (e.g.
- UnitDBAccessException(String) - Constructor for exception ucar.units.UnitDBAccessException
-
Constructs from a string.
- UnitDBException - Exception in ucar.units
-
Provides support for general unit database failures.
- UnitDBException() - Constructor for exception ucar.units.UnitDBException
-
Constructs from nothing.
- UnitDBException(String) - Constructor for exception ucar.units.UnitDBException
-
Constructs from an error message.
- UnitDBException(String, Exception) - Constructor for exception ucar.units.UnitDBException
-
Constructs from a message and the exception that caused the failure.
- UnitDBImpl - Class in ucar.units
-
Provides most of a concrete implementation of a database of units.
- UnitDBImpl(int, int) - Constructor for class ucar.units.UnitDBImpl
-
Constructs from the expected number of names and symbols.
- UnitDBManager - Class in ucar.units
-
Provides support for managing a default unit database.
- UnitDBManager() - Constructor for class ucar.units.UnitDBManager
-
- UnitDimension - Class in ucar.units
-
- UnitDimension() - Constructor for class ucar.units.UnitDimension
-
Constructs a dimensionless unit dimension.
- UnitDimension(BaseUnit) - Constructor for class ucar.units.UnitDimension
-
Constructs the unit dimension corresponding to a base unit.
- UnitException - Exception in ucar.units
-
Provides support for general failures of this package.
- UnitException() - Constructor for exception ucar.units.UnitException
-
Constructs from nothing.
- UnitException(String) - Constructor for exception ucar.units.UnitException
-
Constructs from an error message.
- UnitException(String, Exception) - Constructor for exception ucar.units.UnitException
-
Constructs from a message and the exception that caused the failure.
- UnitExistsException - Exception in ucar.units
-
Provides support for failures due to attempts to redefine an existing unit in
a unit database.
- UnitExistsException(Unit, Unit) - Constructor for exception ucar.units.UnitExistsException
-
Constructs from the existing unit and the redefining unit.
- UnitExistsException(String) - Constructor for exception ucar.units.UnitExistsException
-
Constructs from an error message.
- UnitFormat - Interface in ucar.units
-
Interface for classes that parse and format unit specifications.
- UnitFormatException - Exception in ucar.units
-
Provides support for general failures with unit format classes.
- UnitFormatException() - Constructor for exception ucar.units.UnitFormatException
-
Constructs from nothing.
- UnitFormatException(String) - Constructor for exception ucar.units.UnitFormatException
-
Constructs from an error message.
- UnitFormatImpl - Class in ucar.units
-
Provides support for classes that parse and format unit specifications.
- UnitFormatImpl() - Constructor for class ucar.units.UnitFormatImpl
-
- UnitFormatManager - Class in ucar.units
-
Provides support for managing a default UnitFormat.
- UnitFormatManager() - Constructor for class ucar.units.UnitFormatManager
-
- UnitID - Class in ucar.units
-
Provides support for unit identifiers.
- UnitID() - Constructor for class ucar.units.UnitID
-
- unitIdentifier(UnitDB) - Method in class ucar.units.StandardUnitFormat
-
- UnitImpl - Class in ucar.units
-
Provides support for classes that implement units.
- UnitImpl() - Constructor for class ucar.units.UnitImpl
-
Constructs with no ID.
- UnitImpl(UnitName) - Constructor for class ucar.units.UnitImpl
-
Constructs with the given ID.
- UnitImpl.MyConverter - Class in ucar.units
-
Provides support for converting numeric values from this unit to another
unit.
- UnitName - Class in ucar.units
-
Provides support for unit names.
- UnitName(String, String) - Constructor for class ucar.units.UnitName
-
Constructs from a name and a symbol.
- UnitName(String, String, String) - Constructor for class ucar.units.UnitName
-
Constructs from a name, a plural form of the unit name, and a symbol.
- UnitParseException - Exception in ucar.units
-
Provides support for errors in unit specifications.
- UnitParseException(String) - Constructor for exception ucar.units.UnitParseException
-
Constructs from a reason.
- UnitParseException(String, String) - Constructor for exception ucar.units.UnitParseException
-
Constructs from the string to be parsed and a reason.
- UnitParseException(String, Throwable) - Constructor for exception ucar.units.UnitParseException
-
- unitSpec(UnitDB) - Method in class ucar.units.StandardUnitFormat
-
- UnitSymbol - Class in ucar.units
-
Provides support for symbols for units.
- UnitSymbol(String) - Constructor for class ucar.units.UnitSymbol
-
Constructs from a symbol.
- UnitSystem - Interface in ucar.units
-
Interface for a system of units.
- UnitSystemException - Exception in ucar.units
-
Provides support for errors with the system of units.
- UnitSystemException(String) - Constructor for exception ucar.units.UnitSystemException
-
Constructs from an error message.
- UnitSystemException(String, Exception) - Constructor for exception ucar.units.UnitSystemException
-
Constructs from an error message and the exception that caused the error.
- UnitSystemImpl - Class in ucar.units
-
- UnitSystemImpl(UnitDBImpl, UnitDBImpl) - Constructor for class ucar.units.UnitSystemImpl
-
Constructs from a base unit database and a derived unit database.
- UnitSystemManager - Class in ucar.units
-
Provides support for managing a UnitSystem.
- UnitSystemManager() - Constructor for class ucar.units.UnitSystemManager
-
- UNKNOWN - Static variable in class ucar.units.BaseQuantity
-
The unknown base quantity.
- UnknownBaseQuantity - Class in ucar.units
-
Provides support for an unknown base quantity.
- UnknownBaseQuantity() - Constructor for class ucar.units.UnknownBaseQuantity
-
Constructs from nothing.
- UnknownUnit - Class in ucar.units
-
Provides support for unknown base units.
- unsignedDecimal() - Method in class ucar.units.StandardUnitFormat
-
- unsignedInteger() - Method in class ucar.units.StandardUnitFormat
-
- UpdateLineColumn(char) - Method in class ucar.units.SimpleCharStream
-