Package org.djunits.value.vfloat.vector
Class FloatSIVector
java.lang.Object
org.djunits.value.IndexedValue<U,S,V,D>
org.djunits.value.base.Vector<U,S,V,FloatVectorData>
org.djunits.value.vfloat.vector.base.FloatVector<U,S,RV>
org.djunits.value.vfloat.vector.base.FloatVectorRel<SIUnit,FloatSIScalar,FloatSIVector>
org.djunits.value.vfloat.vector.FloatSIVector
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<FloatSIScalar>
,Relative<SIUnit,
,FloatSIVector> Value<SIUnit,
FloatSIVector>
@Generated(value="org.djunits.generator.GenerateDJUNIT",
date="2023-07-23T14:06:38.224104100Z")
public class FloatSIVector
extends FloatVectorRel<SIUnit,FloatSIScalar,FloatSIVector>
Easy access methods for the generic Relative SI FloatVector.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.djunits.value.vfloat.vector.base.FloatVector
FloatVector.Itr
-
Field Summary
Fields inherited from class org.djunits.value.vfloat.vector.base.FloatVector
data
-
Constructor Summary
ConstructorDescriptionFloatSIVector
(float[] data, SIUnit displayUnit) Construct a FloatSIVector from a float[] object.FloatSIVector
(float[] data, SIUnit displayUnit, StorageType storageType) Construct a FloatSIVector from a float[] object.FloatSIVector
(List<? extends Number> data, SIUnit displayUnit) Construct a FloatSIVector from a list of Number objects or a list of FloatSIScalar objects.FloatSIVector
(List<? extends Number> data, SIUnit displayUnit, StorageType storageType) Construct a FloatSIVector from a list of Number objects or a list of FloatSIScalar objects.FloatSIVector
(Map<Integer, ? extends Number> data, int size, SIUnit displayUnit) Construct a FloatSIVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatSIScalar objects.FloatSIVector
(Map<Integer, ? extends Number> data, int size, SIUnit displayUnit, StorageType storageType) Construct a FloatSIVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatSIScalar objects.FloatSIVector
(FloatSIScalar[] data, SIUnit displayUnit) Construct a FloatSIVector from an array of FloatSIScalar objects.FloatSIVector
(FloatSIScalar[] data, SIUnit displayUnit, StorageType storageType) Construct a FloatSIVector from an array of FloatSIScalar objects.FloatSIVector
(FloatVectorData data, SIUnit displayUnit) Construct a FloatSIVector from an internal data object. -
Method Summary
Modifier and TypeMethodDescriptionfinal FloatAbsorbedDoseVector
Return the current vector as a absorbeddose vector.final FloatAbsorbedDoseVector
asAbsorbedDose
(AbsorbedDoseUnit displayUnit) Return the current vector as a absorbeddose vector, and provide a display unit.final FloatAccelerationVector
Return the current vector as a acceleration vector.final FloatAccelerationVector
asAcceleration
(AccelerationUnit displayUnit) Return the current vector as a acceleration vector, and provide a display unit.Return the current vector as a amountofsubstance vector.asAmountOfSubstance
(AmountOfSubstanceUnit displayUnit) Return the current vector as a amountofsubstance vector, and provide a display unit.final FloatAngleVector
asAngle()
Return the current vector as a angle vector.final FloatAngleVector
Return the current vector as a angle vector, and provide a display unit.Return the current vector as a angularacceleration vector.asAngularAcceleration
(AngularAccelerationUnit displayUnit) Return the current vector as a angularacceleration vector, and provide a display unit.Return the current vector as a angularvelocity vector.asAngularVelocity
(AngularVelocityUnit displayUnit) Return the current vector as a angularvelocity vector, and provide a display unit.final FloatAreaVector
asArea()
Return the current vector as a area vector.final FloatAreaVector
Return the current vector as a area vector, and provide a display unit.Return the current vector as a catalyticactivity vector.asCatalyticActivity
(CatalyticActivityUnit displayUnit) Return the current vector as a catalyticactivity vector, and provide a display unit.final FloatDensityVector
Return the current vector as a density vector.final FloatDensityVector
asDensity
(DensityUnit displayUnit) Return the current vector as a density vector, and provide a display unit.final FloatDimensionlessVector
Return the current vector as a dimensionless vector.final FloatDimensionlessVector
asDimensionless
(DimensionlessUnit displayUnit) Return the current vector as a dimensionless vector, and provide a display unit.final FloatDurationVector
Return the current vector as a duration vector.final FloatDurationVector
asDuration
(DurationUnit displayUnit) Return the current vector as a duration vector, and provide a display unit.Return the current vector as a electricalcapacitance vector.asElectricalCapacitance
(ElectricalCapacitanceUnit displayUnit) Return the current vector as a electricalcapacitance vector, and provide a display unit.Return the current vector as a electricalcharge vector.asElectricalCharge
(ElectricalChargeUnit displayUnit) Return the current vector as a electricalcharge vector, and provide a display unit.Return the current vector as a electricalconductance vector.asElectricalConductance
(ElectricalConductanceUnit displayUnit) Return the current vector as a electricalconductance vector, and provide a display unit.Return the current vector as a electricalcurrent vector.asElectricalCurrent
(ElectricalCurrentUnit displayUnit) Return the current vector as a electricalcurrent vector, and provide a display unit.Return the current vector as a electricalinductance vector.asElectricalInductance
(ElectricalInductanceUnit displayUnit) Return the current vector as a electricalinductance vector, and provide a display unit.Return the current vector as a electricalpotential vector.asElectricalPotential
(ElectricalPotentialUnit displayUnit) Return the current vector as a electricalpotential vector, and provide a display unit.Return the current vector as a electricalresistance vector.asElectricalResistance
(ElectricalResistanceUnit displayUnit) Return the current vector as a electricalresistance vector, and provide a display unit.final FloatEnergyVector
asEnergy()
Return the current vector as a energy vector.final FloatEnergyVector
asEnergy
(EnergyUnit displayUnit) Return the current vector as a energy vector, and provide a display unit.Return the current vector as a equivalentdose vector.asEquivalentDose
(EquivalentDoseUnit displayUnit) Return the current vector as a equivalentdose vector, and provide a display unit.final FloatFlowMassVector
Return the current vector as a flowmass vector.final FloatFlowMassVector
asFlowMass
(FlowMassUnit displayUnit) Return the current vector as a flowmass vector, and provide a display unit.final FloatFlowVolumeVector
Return the current vector as a flowvolume vector.final FloatFlowVolumeVector
asFlowVolume
(FlowVolumeUnit displayUnit) Return the current vector as a flowvolume vector, and provide a display unit.final FloatForceVector
asForce()
Return the current vector as a force vector.final FloatForceVector
Return the current vector as a force vector, and provide a display unit.final FloatFrequencyVector
Return the current vector as a frequency vector.final FloatFrequencyVector
asFrequency
(FrequencyUnit displayUnit) Return the current vector as a frequency vector, and provide a display unit.final FloatIlluminanceVector
Return the current vector as a illuminance vector.final FloatIlluminanceVector
asIlluminance
(IlluminanceUnit displayUnit) Return the current vector as a illuminance vector, and provide a display unit.final FloatLengthVector
asLength()
Return the current vector as a length vector.final FloatLengthVector
asLength
(LengthUnit displayUnit) Return the current vector as a length vector, and provide a display unit.final FloatLinearDensityVector
Return the current vector as a lineardensity vector.final FloatLinearDensityVector
asLinearDensity
(LinearDensityUnit displayUnit) Return the current vector as a lineardensity vector, and provide a display unit.final FloatLuminousFluxVector
Return the current vector as a luminousflux vector.final FloatLuminousFluxVector
asLuminousFlux
(LuminousFluxUnit displayUnit) Return the current vector as a luminousflux vector, and provide a display unit.Return the current vector as a luminousintensity vector.asLuminousIntensity
(LuminousIntensityUnit displayUnit) Return the current vector as a luminousintensity vector, and provide a display unit.final FloatMagneticFluxVector
Return the current vector as a magneticflux vector.final FloatMagneticFluxVector
asMagneticFlux
(MagneticFluxUnit displayUnit) Return the current vector as a magneticflux vector, and provide a display unit.Return the current vector as a magneticfluxdensity vector.asMagneticFluxDensity
(MagneticFluxDensityUnit displayUnit) Return the current vector as a magneticfluxdensity vector, and provide a display unit.final FloatMassVector
asMass()
Return the current vector as a mass vector.final FloatMassVector
Return the current vector as a mass vector, and provide a display unit.final FloatMomentumVector
Return the current vector as a momentum vector.final FloatMomentumVector
asMomentum
(MomentumUnit displayUnit) Return the current vector as a momentum vector, and provide a display unit.final FloatPowerVector
asPower()
Return the current vector as a power vector.final FloatPowerVector
Return the current vector as a power vector, and provide a display unit.final FloatPressureVector
Return the current vector as a pressure vector.final FloatPressureVector
asPressure
(PressureUnit displayUnit) Return the current vector as a pressure vector, and provide a display unit.final FloatRadioActivityVector
Return the current vector as a radioactivity vector.final FloatRadioActivityVector
asRadioActivity
(RadioActivityUnit displayUnit) Return the current vector as a radioactivity vector, and provide a display unit.final FloatSolidAngleVector
Return the current vector as a solidangle vector.final FloatSolidAngleVector
asSolidAngle
(SolidAngleUnit displayUnit) Return the current vector as a solidangle vector, and provide a display unit.final FloatSpeedVector
asSpeed()
Return the current vector as a speed vector.final FloatSpeedVector
Return the current vector as a speed vector, and provide a display unit.final FloatTemperatureVector
Return the current vector as a temperature vector.final FloatTemperatureVector
asTemperature
(TemperatureUnit displayUnit) Return the current vector as a temperature vector, and provide a display unit.final FloatTorqueVector
asTorque()
Return the current vector as a torque vector.final FloatTorqueVector
asTorque
(TorqueUnit displayUnit) Return the current vector as a torque vector, and provide a display unit.final FloatVolumeVector
asVolume()
Return the current vector as a volume vector.final FloatVolumeVector
asVolume
(VolumeUnit displayUnit) Return the current vector as a volume vector, and provide a display unit.Return the class of the corresponding scalar.instantiateScalarSI
(float valueSI, SIUnit unit) Instantiate a new scalar for the class of this vector.instantiateVector
(FloatVectorData fvd, SIUnit unit) Instantiate a new vector of the class of this vector.static FloatSIVector
of
(float[] value, String unitString, StorageType storageType) Returns a FloatSIVector based on an array of values and the textual representation of the unit.static FloatSIVector
of
(List<Float> valueList, String unitString, StorageType storageType) Returns a FloatSIVector based on an array of values and the textual representation of the unit.static FloatSIVector
Returns a FloatSIVector based on a (sparse) map of values and the textual representation of the unit.Somewhat verbose description of this value with the values expressed in the specified unit.Methods inherited from class org.djunits.value.vfloat.vector.base.FloatVectorRel
decrementBy, decrementBy, divide, divide, divide, divideBy, divideBy, incrementBy, incrementBy, minus, multiplyBy, multiplyBy, plus, times, times, times, zSum
Methods inherited from class org.djunits.value.vfloat.vector.base.FloatVector
abs, assign, ceil, checkIndex, checkSize, equals, floor, get, getData, getInUnit, getInUnit, getScalars, getSI, getValuesInUnit, getValuesInUnit, getValuesSI, hashCode, iterator, neg, rint, set, setData, setInUnit, setInUnit, setSI, size, toDense, toSparse, toString, toString, toString
Methods inherited from class org.djunits.value.IndexedValue
cardinality, checkCopyOnWrite, clone, getDisplayUnit, getStorageType, immutable, isCopyOnWrite, isDense, isMutable, isSparse, mutable, setCopyOnWrite, setDisplayUnit, setMutable
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.djunits.value.Value
isAbsolute, isRelative
-
Constructor Details
-
FloatSIVector
Construct a FloatSIVector from an internal data object.- Parameters:
data
- FloatVectorData; the internal data object for the vectordisplayUnit
- SIUnit; the display unit of the vector data
-
FloatSIVector
Construct a FloatSIVector from a float[] object. The float values are expressed in the displayUnit, and will be printed using the displayUnit.- Parameters:
data
- float[]; the data for the vector, expressed in the displayUnitdisplayUnit
- SIUnit; the unit of the values in the data array, and display unit when printingstorageType
- StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
-
FloatSIVector
Construct a FloatSIVector from a float[] object. The float values are expressed in the displayUnit. Assume that the StorageType is DENSE since we offer the data as an array.- Parameters:
data
- float[]; the data for the vectordisplayUnit
- SIUnit; the unit of the values in the data array, and display unit when printing
-
FloatSIVector
Construct a FloatSIVector from an array of FloatSIScalar objects. The FloatSIScalar values are each expressed in their own unit, but will be internally stored as SI values, all expressed in the displayUnit when printing.- Parameters:
data
- FloatSIScalar[]; the data for the vectordisplayUnit
- SIUnit; the display unit of the values when printingstorageType
- StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
-
FloatSIVector
Construct a FloatSIVector from an array of FloatSIScalar objects. The FloatSIScalar values are each expressed in their own unit, but will be internally stored as SI values, all expressed in the displayUnit when printing. Assume that the StorageType is DENSE since we offer the data as an array.- Parameters:
data
- FloatSIScalar[]; the data for the vectordisplayUnit
- SIUnit; the display unit of the values when printing
-
FloatSIVector
Construct a FloatSIVector from a list of Number objects or a list of FloatSIScalar objects. Note that the displayUnit has a different meaning depending on whether the list contains Number objects (e.g., Float objects) or FloatSIScalar objects. In case the list contains Number objects, the displayUnit indicates the unit in which the values in the list are expressed, as well as the unit in which they will be printed. In case the list contains FloatSIScalar objects, each FloatSIScalar has its own unit, and the displayUnit is just used for printing. The values but will always be internally stored as SI values or base values, and expressed using the display unit or base unit when printing.- Parameters:
data
- List<Float> or List<SIScalar>; the data for the vectordisplayUnit
- SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Float> or List<Number> in generalstorageType
- StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
-
FloatSIVector
Construct a FloatSIVector from a list of Number objects or a list of FloatSIScalar objects. Note that the displayUnit has a different meaning depending on whether the list contains Number objects (e.g., Float objects) or FloatSIScalar objects. In case the list contains Number objects, the displayUnit indicates the unit in which the values in the list are expressed, as well as the unit in which they will be printed. In case the list contains FloatSIScalar objects, each FloatSIScalar has its own unit, and the displayUnit is just used for printing. The values but will always be internally stored as SI values or base values, and expressed using the display unit or base unit when printing. Assume the storage type is DENSE since we offer the data as a List.- Parameters:
data
- List<Float> or List<SIScalar>; the data for the vectordisplayUnit
- SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Float> or List<Number> in general
-
FloatSIVector
public FloatSIVector(Map<Integer, ? extends Number> data, int size, SIUnit displayUnit, StorageType storageType) Construct a FloatSIVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatSIScalar objects. Using index values is particularly useful for sparse vectors. The size parameter indicates the size of the vector, since the largest index does not have to be part of the map. Note that the displayUnit has a different meaning depending on whether the map contains Number objects (e.g., Float objects) or FloatSIScalar objects. In case the map contains Number objects, the displayUnit indicates the unit in which the values in the map are expressed, as well as the unit in which they will be printed. In case the map contains FloatSIScalar objects, each FloatSIScalar has its own unit, and the displayUnit is just used for printing. The values but will always be internally stored as SI values or base values, and expressed using the display unit or base unit when printing.- Parameters:
data
- Map<Integer, Float> or Map<Integer, FloatSIScalar>; the data for the vectorsize
- int; the size off the vector, i.e., the highest indexdisplayUnit
- SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Float> or List<Number> in generalstorageType
- StorageType; the StorageType (SPARSE or DENSE) to use for constructing the Vector
-
FloatSIVector
Construct a FloatSIVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatSIScalar objects. Using index values is particularly useful for sparse vectors. The size parameter indicates the size of the vector, since the largest index does not have to be part of the map. Note that the displayUnit has a different meaning depending on whether the map contains Number objects (e.g., Float objects) or FloatSIScalar objects. In case the map contains Number objects, the displayUnit indicates the unit in which the values in the map are expressed, as well as the unit in which they will be printed. In case the map contains FloatSIScalar objects, each FloatSIScalar has its own unit, and the displayUnit is just used for printing. The values but will always be internally stored as SI values or base values, and expressed using the display unit or base unit when printing. Assume the storage type is SPARSE since we offer the data as a Map.- Parameters:
data
- Map<Integer, Float> or Map<Integer, FloatSIScalar>; the data for the vectorsize
- int; the size off the vector, i.e., the highest indexdisplayUnit
- SIUnit; the display unit of the vector data, and the unit of the data points when the data is expressed as List<Float> or List<Number> in general
-
-
Method Details
-
getScalarClass
Description copied from class:IndexedValue
Return the class of the corresponding scalar.- Specified by:
getScalarClass
in classIndexedValue<SIUnit,
FloatSIScalar, FloatSIVector, FloatVectorData> - Returns:
- Class<S>; the class of the corresponding scalar
-
of
Returns a FloatSIVector based on an array of values and the textual representation of the unit.- Parameters:
value
- float[]; the values to useunitString
- String; the textual representation of the unitstorageType
- StorageType; the storage type to use- Returns:
- FloatSIVector; the vector representation of the values in their unit
- Throws:
IllegalArgumentException
- when the unit cannot be parsed or is incorrectNullPointerException
- when the unitString argument is null
-
of
Returns a FloatSIVector based on an array of values and the textual representation of the unit.- Parameters:
valueList
- List<Float>; the values to useunitString
- String; the textual representation of the unitstorageType
- StorageType; the storage type to use- Returns:
- FloatSIVector; the vector representation of the values in their unit
- Throws:
IllegalArgumentException
- when the unit cannot be parsed or is incorrectNullPointerException
- when the unitString argument is null
-
of
public static FloatSIVector of(Map<Integer, Float> valueMap, String unitString, int length, StorageType storageType) Returns a FloatSIVector based on a (sparse) map of values and the textual representation of the unit.- Parameters:
valueMap
- Map<Integer, Float>; the values to useunitString
- String; the textual representation of the unitlength
- int; the size of the vectorstorageType
- StorageType; the storage type to use- Returns:
- FloatSIVector; the vector representation of the values in their unit
- Throws:
IllegalArgumentException
- when the unit cannot be parsed or is incorrectNullPointerException
- when the unitString argument is null
-
instantiateVector
Description copied from class:FloatVector
Instantiate a new vector of the class of this vector. This can be used instead of the FloatVector.instiantiate() methods in case another vector of this class is known. The method is faster than FloatVector.instantiate, and it will also work if the vector is user-defined.- Specified by:
instantiateVector
in classFloatVector<SIUnit,
FloatSIScalar, FloatSIVector> - Parameters:
fvd
- FloatVectorData; the data used to instantiate the vectorunit
- U; the display unit of the vector- Returns:
- V; a vector of the correct type
-
instantiateScalarSI
Description copied from class:FloatVector
Instantiate a new scalar for the class of this vector. This can be used instead of the FloatScalar.instiantiate() methods in case a vector of this class is known. The method is faster than FloatScalar.instantiate, and it will also work if the vector and/or scalar are user-defined.- Specified by:
instantiateScalarSI
in classFloatVector<SIUnit,
FloatSIScalar, FloatSIVector> - Parameters:
valueSI
- float; the SI value of the scalarunit
- U; the unit in which the value will be displayed- Returns:
- S; a scalar of the correct type, belonging to the vector type
-
toString
Description copied from interface:Value
Somewhat verbose description of this value with the values expressed in the specified unit.- Specified by:
toString
in interfaceValue<SIUnit,
FloatSIVector> - Overrides:
toString
in classFloatVector<SIUnit,
FloatSIScalar, FloatSIVector> - Parameters:
displayUnit
- U; the unit into which the values are converted for displayverbose
- boolean; if true; include type info; if false; exclude type infowithUnit
- boolean; if true; include the unit; of false; exclude the unit- Returns:
- String; printable string with the value contents
-
asAbsorbedDose
Return the current vector as a absorbeddose vector.- Returns:
- FloatAbsorbedDoseVector; the current vector as a absorbeddose vector
-
asAbsorbedDose
Return the current vector as a absorbeddose vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAbsorbedDoseVector; the current vector as a absorbeddose vector
-
asAcceleration
Return the current vector as a acceleration vector.- Returns:
- FloatAccelerationVector; the current vector as a acceleration vector
-
asAcceleration
Return the current vector as a acceleration vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAccelerationVector; the current vector as a acceleration vector
-
asAmountOfSubstance
Return the current vector as a amountofsubstance vector.- Returns:
- FloatAmountOfSubstanceVector; the current vector as a amountofsubstance vector
-
asAmountOfSubstance
Return the current vector as a amountofsubstance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAmountOfSubstanceVector; the current vector as a amountofsubstance vector
-
asAngularAcceleration
Return the current vector as a angularacceleration vector.- Returns:
- FloatAngularAccelerationVector; the current vector as a angularacceleration vector
-
asAngularAcceleration
public final FloatAngularAccelerationVector asAngularAcceleration(AngularAccelerationUnit displayUnit) Return the current vector as a angularacceleration vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAngularAccelerationVector; the current vector as a angularacceleration vector
-
asAngularVelocity
Return the current vector as a angularvelocity vector.- Returns:
- FloatAngularVelocityVector; the current vector as a angularvelocity vector
-
asAngularVelocity
Return the current vector as a angularvelocity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAngularVelocityVector; the current vector as a angularvelocity vector
-
asArea
Return the current vector as a area vector.- Returns:
- FloatAreaVector; the current vector as a area vector
-
asArea
Return the current vector as a area vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAreaVector; the current vector as a area vector
-
asCatalyticActivity
Return the current vector as a catalyticactivity vector.- Returns:
- FloatCatalyticActivityVector; the current vector as a catalyticactivity vector
-
asCatalyticActivity
Return the current vector as a catalyticactivity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatCatalyticActivityVector; the current vector as a catalyticactivity vector
-
asDensity
Return the current vector as a density vector.- Returns:
- FloatDensityVector; the current vector as a density vector
-
asDensity
Return the current vector as a density vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatDensityVector; the current vector as a density vector
-
asDimensionless
Return the current vector as a dimensionless vector.- Returns:
- FloatDimensionlessVector; the current vector as a dimensionless vector
-
asDimensionless
Return the current vector as a dimensionless vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatDimensionlessVector; the current vector as a dimensionless vector
-
asElectricalCapacitance
Return the current vector as a electricalcapacitance vector.- Returns:
- FloatElectricalCapacitanceVector; the current vector as a electricalcapacitance vector
-
asElectricalCapacitance
public final FloatElectricalCapacitanceVector asElectricalCapacitance(ElectricalCapacitanceUnit displayUnit) Return the current vector as a electricalcapacitance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalCapacitanceVector; the current vector as a electricalcapacitance vector
-
asElectricalCharge
Return the current vector as a electricalcharge vector.- Returns:
- FloatElectricalChargeVector; the current vector as a electricalcharge vector
-
asElectricalCharge
Return the current vector as a electricalcharge vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalChargeVector; the current vector as a electricalcharge vector
-
asElectricalConductance
Return the current vector as a electricalconductance vector.- Returns:
- FloatElectricalConductanceVector; the current vector as a electricalconductance vector
-
asElectricalConductance
public final FloatElectricalConductanceVector asElectricalConductance(ElectricalConductanceUnit displayUnit) Return the current vector as a electricalconductance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalConductanceVector; the current vector as a electricalconductance vector
-
asElectricalCurrent
Return the current vector as a electricalcurrent vector.- Returns:
- FloatElectricalCurrentVector; the current vector as a electricalcurrent vector
-
asElectricalCurrent
Return the current vector as a electricalcurrent vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalCurrentVector; the current vector as a electricalcurrent vector
-
asElectricalInductance
Return the current vector as a electricalinductance vector.- Returns:
- FloatElectricalInductanceVector; the current vector as a electricalinductance vector
-
asElectricalInductance
public final FloatElectricalInductanceVector asElectricalInductance(ElectricalInductanceUnit displayUnit) Return the current vector as a electricalinductance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalInductanceVector; the current vector as a electricalinductance vector
-
asElectricalPotential
Return the current vector as a electricalpotential vector.- Returns:
- FloatElectricalPotentialVector; the current vector as a electricalpotential vector
-
asElectricalPotential
public final FloatElectricalPotentialVector asElectricalPotential(ElectricalPotentialUnit displayUnit) Return the current vector as a electricalpotential vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalPotentialVector; the current vector as a electricalpotential vector
-
asElectricalResistance
Return the current vector as a electricalresistance vector.- Returns:
- FloatElectricalResistanceVector; the current vector as a electricalresistance vector
-
asElectricalResistance
public final FloatElectricalResistanceVector asElectricalResistance(ElectricalResistanceUnit displayUnit) Return the current vector as a electricalresistance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatElectricalResistanceVector; the current vector as a electricalresistance vector
-
asEnergy
Return the current vector as a energy vector.- Returns:
- FloatEnergyVector; the current vector as a energy vector
-
asEnergy
Return the current vector as a energy vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatEnergyVector; the current vector as a energy vector
-
asEquivalentDose
Return the current vector as a equivalentdose vector.- Returns:
- FloatEquivalentDoseVector; the current vector as a equivalentdose vector
-
asEquivalentDose
Return the current vector as a equivalentdose vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatEquivalentDoseVector; the current vector as a equivalentdose vector
-
asFlowMass
Return the current vector as a flowmass vector.- Returns:
- FloatFlowMassVector; the current vector as a flowmass vector
-
asFlowMass
Return the current vector as a flowmass vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatFlowMassVector; the current vector as a flowmass vector
-
asFlowVolume
Return the current vector as a flowvolume vector.- Returns:
- FloatFlowVolumeVector; the current vector as a flowvolume vector
-
asFlowVolume
Return the current vector as a flowvolume vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatFlowVolumeVector; the current vector as a flowvolume vector
-
asForce
Return the current vector as a force vector.- Returns:
- FloatForceVector; the current vector as a force vector
-
asForce
Return the current vector as a force vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatForceVector; the current vector as a force vector
-
asFrequency
Return the current vector as a frequency vector.- Returns:
- FloatFrequencyVector; the current vector as a frequency vector
-
asFrequency
Return the current vector as a frequency vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatFrequencyVector; the current vector as a frequency vector
-
asIlluminance
Return the current vector as a illuminance vector.- Returns:
- FloatIlluminanceVector; the current vector as a illuminance vector
-
asIlluminance
Return the current vector as a illuminance vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatIlluminanceVector; the current vector as a illuminance vector
-
asLinearDensity
Return the current vector as a lineardensity vector.- Returns:
- FloatLinearDensityVector; the current vector as a lineardensity vector
-
asLinearDensity
Return the current vector as a lineardensity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatLinearDensityVector; the current vector as a lineardensity vector
-
asLuminousFlux
Return the current vector as a luminousflux vector.- Returns:
- FloatLuminousFluxVector; the current vector as a luminousflux vector
-
asLuminousFlux
Return the current vector as a luminousflux vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatLuminousFluxVector; the current vector as a luminousflux vector
-
asLuminousIntensity
Return the current vector as a luminousintensity vector.- Returns:
- FloatLuminousIntensityVector; the current vector as a luminousintensity vector
-
asLuminousIntensity
Return the current vector as a luminousintensity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatLuminousIntensityVector; the current vector as a luminousintensity vector
-
asMagneticFluxDensity
Return the current vector as a magneticfluxdensity vector.- Returns:
- FloatMagneticFluxDensityVector; the current vector as a magneticfluxdensity vector
-
asMagneticFluxDensity
public final FloatMagneticFluxDensityVector asMagneticFluxDensity(MagneticFluxDensityUnit displayUnit) Return the current vector as a magneticfluxdensity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatMagneticFluxDensityVector; the current vector as a magneticfluxdensity vector
-
asMagneticFlux
Return the current vector as a magneticflux vector.- Returns:
- FloatMagneticFluxVector; the current vector as a magneticflux vector
-
asMagneticFlux
Return the current vector as a magneticflux vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatMagneticFluxVector; the current vector as a magneticflux vector
-
asMass
Return the current vector as a mass vector.- Returns:
- FloatMassVector; the current vector as a mass vector
-
asMass
Return the current vector as a mass vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatMassVector; the current vector as a mass vector
-
asMomentum
Return the current vector as a momentum vector.- Returns:
- FloatMomentumVector; the current vector as a momentum vector
-
asMomentum
Return the current vector as a momentum vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatMomentumVector; the current vector as a momentum vector
-
asPower
Return the current vector as a power vector.- Returns:
- FloatPowerVector; the current vector as a power vector
-
asPower
Return the current vector as a power vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatPowerVector; the current vector as a power vector
-
asPressure
Return the current vector as a pressure vector.- Returns:
- FloatPressureVector; the current vector as a pressure vector
-
asPressure
Return the current vector as a pressure vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatPressureVector; the current vector as a pressure vector
-
asRadioActivity
Return the current vector as a radioactivity vector.- Returns:
- FloatRadioActivityVector; the current vector as a radioactivity vector
-
asRadioActivity
Return the current vector as a radioactivity vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatRadioActivityVector; the current vector as a radioactivity vector
-
asSolidAngle
Return the current vector as a solidangle vector.- Returns:
- FloatSolidAngleVector; the current vector as a solidangle vector
-
asSolidAngle
Return the current vector as a solidangle vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatSolidAngleVector; the current vector as a solidangle vector
-
asSpeed
Return the current vector as a speed vector.- Returns:
- FloatSpeedVector; the current vector as a speed vector
-
asSpeed
Return the current vector as a speed vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatSpeedVector; the current vector as a speed vector
-
asTorque
Return the current vector as a torque vector.- Returns:
- FloatTorqueVector; the current vector as a torque vector
-
asTorque
Return the current vector as a torque vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatTorqueVector; the current vector as a torque vector
-
asVolume
Return the current vector as a volume vector.- Returns:
- FloatVolumeVector; the current vector as a volume vector
-
asVolume
Return the current vector as a volume vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatVolumeVector; the current vector as a volume vector
-
asAngle
Return the current vector as a angle vector.- Returns:
- FloatAngleVector; the current vector as a angle vector
-
asAngle
Return the current vector as a angle vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatAngleVector; the current vector as a angle vector
-
asLength
Return the current vector as a length vector.- Returns:
- FloatLengthVector; the current vector as a length vector
-
asLength
Return the current vector as a length vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatLengthVector; the current vector as a length vector
-
asTemperature
Return the current vector as a temperature vector.- Returns:
- FloatTemperatureVector; the current vector as a temperature vector
-
asTemperature
Return the current vector as a temperature vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatTemperatureVector; the current vector as a temperature vector
-
asDuration
Return the current vector as a duration vector.- Returns:
- FloatDurationVector; the current vector as a duration vector
-
asDuration
Return the current vector as a duration vector, and provide a display unit.- Parameters:
displayUnit
- the unit in which the value will be displayed- Returns:
- FloatDurationVector; the current vector as a duration vector
-