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="2025-09-06T12:29:15.080196400Z")
public class FloatSIVector
extends FloatVectorRel<SIUnit,FloatSIScalar,FloatSIVector>
Easy access methods for the generic Relative SI FloatVector.
Copyright (c) 2013-2025 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
ConstructorsConstructorDescriptionFloatSIVector(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 FloatAbsorbedDoseVectorReturn the current vector as a absorbeddose vector.final FloatAbsorbedDoseVectorasAbsorbedDose(AbsorbedDoseUnit displayUnit) Return the current vector as a absorbeddose vector, and provide a display unit.final FloatAccelerationVectorReturn the current vector as a acceleration vector.final FloatAccelerationVectorasAcceleration(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 FloatAngleVectorasAngle()Return the current vector as a angle vector.final FloatAngleVectorReturn 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 FloatAreaVectorasArea()Return the current vector as a area vector.final FloatAreaVectorReturn 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 FloatDensityVectorReturn the current vector as a density vector.final FloatDensityVectorasDensity(DensityUnit displayUnit) Return the current vector as a density vector, and provide a display unit.final FloatDimensionlessVectorReturn the current vector as a dimensionless vector.final FloatDimensionlessVectorasDimensionless(DimensionlessUnit displayUnit) Return the current vector as a dimensionless vector, and provide a display unit.final FloatDurationVectorReturn the current vector as a duration vector.final FloatDurationVectorasDuration(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 FloatEnergyVectorasEnergy()Return the current vector as a energy vector.final FloatEnergyVectorasEnergy(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 FloatFlowMassVectorReturn the current vector as a flowmass vector.final FloatFlowMassVectorasFlowMass(FlowMassUnit displayUnit) Return the current vector as a flowmass vector, and provide a display unit.final FloatFlowVolumeVectorReturn the current vector as a flowvolume vector.final FloatFlowVolumeVectorasFlowVolume(FlowVolumeUnit displayUnit) Return the current vector as a flowvolume vector, and provide a display unit.final FloatForceVectorasForce()Return the current vector as a force vector.final FloatForceVectorReturn the current vector as a force vector, and provide a display unit.final FloatFrequencyVectorReturn the current vector as a frequency vector.final FloatFrequencyVectorasFrequency(FrequencyUnit displayUnit) Return the current vector as a frequency vector, and provide a display unit.final FloatIlluminanceVectorReturn the current vector as a illuminance vector.final FloatIlluminanceVectorasIlluminance(IlluminanceUnit displayUnit) Return the current vector as a illuminance vector, and provide a display unit.final FloatLengthVectorasLength()Return the current vector as a length vector.final FloatLengthVectorasLength(LengthUnit displayUnit) Return the current vector as a length vector, and provide a display unit.final FloatLinearDensityVectorReturn the current vector as a lineardensity vector.final FloatLinearDensityVectorasLinearDensity(LinearDensityUnit displayUnit) Return the current vector as a lineardensity vector, and provide a display unit.final FloatLuminousFluxVectorReturn the current vector as a luminousflux vector.final FloatLuminousFluxVectorasLuminousFlux(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 FloatMagneticFluxVectorReturn the current vector as a magneticflux vector.final FloatMagneticFluxVectorasMagneticFlux(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 FloatMassVectorasMass()Return the current vector as a mass vector.final FloatMassVectorReturn the current vector as a mass vector, and provide a display unit.final FloatMomentumVectorReturn the current vector as a momentum vector.final FloatMomentumVectorasMomentum(MomentumUnit displayUnit) Return the current vector as a momentum vector, and provide a display unit.final FloatPowerVectorasPower()Return the current vector as a power vector.final FloatPowerVectorReturn the current vector as a power vector, and provide a display unit.final FloatPressureVectorReturn the current vector as a pressure vector.final FloatPressureVectorasPressure(PressureUnit displayUnit) Return the current vector as a pressure vector, and provide a display unit.final FloatRadioActivityVectorReturn the current vector as a radioactivity vector.final FloatRadioActivityVectorasRadioActivity(RadioActivityUnit displayUnit) Return the current vector as a radioactivity vector, and provide a display unit.final FloatSolidAngleVectorReturn the current vector as a solidangle vector.final FloatSolidAngleVectorasSolidAngle(SolidAngleUnit displayUnit) Return the current vector as a solidangle vector, and provide a display unit.final FloatSpeedVectorasSpeed()Return the current vector as a speed vector.final FloatSpeedVectorReturn the current vector as a speed vector, and provide a display unit.final FloatTemperatureVectorReturn the current vector as a temperature vector.final FloatTemperatureVectorasTemperature(TemperatureUnit displayUnit) Return the current vector as a temperature vector, and provide a display unit.final FloatTorqueVectorasTorque()Return the current vector as a torque vector.final FloatTorqueVectorasTorque(TorqueUnit displayUnit) Return the current vector as a torque vector, and provide a display unit.final FloatVolumeVectorasVolume()Return the current vector as a volume vector.final FloatVolumeVectorasVolume(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 FloatSIVectorof(float[] value, String unitString, StorageType storageType) Returns a FloatSIVector based on an array of values and the textual representation of the unit.static FloatSIVectorof(List<Float> valueList, String unitString, StorageType storageType) Returns a FloatSIVector based on an array of values and the textual representation of the unit.static FloatSIVectorReturns 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, zSumMethods 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, toStringMethods inherited from class org.djunits.value.IndexedValue
cardinality, checkCopyOnWrite, clone, getDisplayUnit, getStorageType, immutable, isCopyOnWrite, isDense, isMutable, isSparse, mutable, setCopyOnWrite, setDisplayUnit, setMutableMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.djunits.value.Value
isAbsolute, isRelative
-
Constructor Details
-
FloatSIVector
Construct a FloatSIVector from an internal data object.- Parameters:
data- the internal data object for the vectordisplayUnit- 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- the data for the vector, expressed in the displayUnitdisplayUnit- the unit of the values in the data array, and display unit when printingstorageType- 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- the data for the vectordisplayUnit- 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- the data for the vectordisplayUnit- the display unit of the values when printingstorageType- 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- the data for the vectordisplayUnit- 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- the data for the vectordisplayUnit- 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- 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- the data for the vectordisplayUnit- 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- the data for the vectorsize- the size off the vector, i.e., the highest indexdisplayUnit- 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- 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- the data for the vectorsize- the size off the vector, i.e., the highest indexdisplayUnit- 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:IndexedValueReturn the class of the corresponding scalar.- Specified by:
getScalarClassin classIndexedValue<SIUnit,FloatSIScalar, FloatSIVector, FloatVectorData> - Returns:
- 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- the values to useunitString- the textual representation of the unitstorageType- the storage type to use- Returns:
- 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- the values to useunitString- the textual representation of the unitstorageType- the storage type to use- Returns:
- 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- the values to useunitString- the textual representation of the unitlength- the size of the vectorstorageType- the storage type to use- Returns:
- 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:FloatVectorInstantiate 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:
instantiateVectorin classFloatVector<SIUnit,FloatSIScalar, FloatSIVector> - Parameters:
fvd- the data used to instantiate the vectorunit- the display unit of the vector- Returns:
- a vector of the correct type
-
instantiateScalarSI
Description copied from class:FloatVectorInstantiate 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:
instantiateScalarSIin classFloatVector<SIUnit,FloatSIScalar, FloatSIVector> - Parameters:
valueSI- the SI value of the scalarunit- the unit in which the value will be displayed- Returns:
- a scalar of the correct type, belonging to the vector type
-
toString
Description copied from interface:ValueSomewhat verbose description of this value with the values expressed in the specified unit.- Specified by:
toStringin interfaceValue<SIUnit,FloatSIVector> - Overrides:
toStringin classFloatVector<SIUnit,FloatSIScalar, FloatSIVector> - Parameters:
displayUnit- the unit into which the values are converted for displayverbose- if true; include type info; if false; exclude type infowithUnit- if true; include the unit; of false; exclude the unit- Returns:
- printable string with the value contents
-
asAbsorbedDose
Return the current vector as a absorbeddose vector.- Returns:
- 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:
- the current vector as a absorbeddose vector
-
asAcceleration
Return the current vector as a acceleration vector.- Returns:
- 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:
- the current vector as a acceleration vector
-
asAmountOfSubstance
Return the current vector as a amountofsubstance vector.- Returns:
- 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:
- the current vector as a amountofsubstance vector
-
asAngularAcceleration
Return the current vector as a angularacceleration vector.- Returns:
- 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:
- the current vector as a angularacceleration vector
-
asAngularVelocity
Return the current vector as a angularvelocity vector.- Returns:
- 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:
- the current vector as a angularvelocity vector
-
asArea
Return the current vector as a area vector.- Returns:
- 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:
- the current vector as a area vector
-
asCatalyticActivity
Return the current vector as a catalyticactivity vector.- Returns:
- 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:
- the current vector as a catalyticactivity vector
-
asDensity
Return the current vector as a density vector.- Returns:
- 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:
- the current vector as a density vector
-
asDimensionless
Return the current vector as a dimensionless vector.- Returns:
- 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:
- the current vector as a dimensionless vector
-
asElectricalCapacitance
Return the current vector as a electricalcapacitance vector.- Returns:
- 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:
- the current vector as a electricalcapacitance vector
-
asElectricalCharge
Return the current vector as a electricalcharge vector.- Returns:
- 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:
- the current vector as a electricalcharge vector
-
asElectricalConductance
Return the current vector as a electricalconductance vector.- Returns:
- 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:
- the current vector as a electricalconductance vector
-
asElectricalCurrent
Return the current vector as a electricalcurrent vector.- Returns:
- 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:
- the current vector as a electricalcurrent vector
-
asElectricalInductance
Return the current vector as a electricalinductance vector.- Returns:
- 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:
- the current vector as a electricalinductance vector
-
asElectricalPotential
Return the current vector as a electricalpotential vector.- Returns:
- 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:
- the current vector as a electricalpotential vector
-
asElectricalResistance
Return the current vector as a electricalresistance vector.- Returns:
- 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:
- the current vector as a electricalresistance vector
-
asEnergy
Return the current vector as a energy vector.- Returns:
- 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:
- the current vector as a energy vector
-
asEquivalentDose
Return the current vector as a equivalentdose vector.- Returns:
- 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:
- the current vector as a equivalentdose vector
-
asFlowMass
Return the current vector as a flowmass vector.- Returns:
- 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:
- the current vector as a flowmass vector
-
asFlowVolume
Return the current vector as a flowvolume vector.- Returns:
- 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:
- the current vector as a flowvolume vector
-
asForce
Return the current vector as a force vector.- Returns:
- 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:
- the current vector as a force vector
-
asFrequency
Return the current vector as a frequency vector.- Returns:
- 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:
- the current vector as a frequency vector
-
asIlluminance
Return the current vector as a illuminance vector.- Returns:
- 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:
- the current vector as a illuminance vector
-
asLinearDensity
Return the current vector as a lineardensity vector.- Returns:
- 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:
- the current vector as a lineardensity vector
-
asLuminousFlux
Return the current vector as a luminousflux vector.- Returns:
- 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:
- the current vector as a luminousflux vector
-
asLuminousIntensity
Return the current vector as a luminousintensity vector.- Returns:
- 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:
- the current vector as a luminousintensity vector
-
asMagneticFluxDensity
Return the current vector as a magneticfluxdensity vector.- Returns:
- 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:
- the current vector as a magneticfluxdensity vector
-
asMagneticFlux
Return the current vector as a magneticflux vector.- Returns:
- 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:
- the current vector as a magneticflux vector
-
asMass
Return the current vector as a mass vector.- Returns:
- 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:
- the current vector as a mass vector
-
asMomentum
Return the current vector as a momentum vector.- Returns:
- 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:
- the current vector as a momentum vector
-
asPower
Return the current vector as a power vector.- Returns:
- 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:
- the current vector as a power vector
-
asPressure
Return the current vector as a pressure vector.- Returns:
- 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:
- the current vector as a pressure vector
-
asRadioActivity
Return the current vector as a radioactivity vector.- Returns:
- 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:
- the current vector as a radioactivity vector
-
asSolidAngle
Return the current vector as a solidangle vector.- Returns:
- 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:
- the current vector as a solidangle vector
-
asSpeed
Return the current vector as a speed vector.- Returns:
- 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:
- the current vector as a speed vector
-
asTorque
Return the current vector as a torque vector.- Returns:
- 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:
- the current vector as a torque vector
-
asVolume
Return the current vector as a volume vector.- Returns:
- 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:
- the current vector as a volume vector
-
asAngle
Return the current vector as a angle vector.- Returns:
- 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:
- the current vector as a angle vector
-
asLength
Return the current vector as a length vector.- Returns:
- 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:
- the current vector as a length vector
-
asTemperature
Return the current vector as a temperature vector.- Returns:
- 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:
- the current vector as a temperature vector
-
asDuration
Return the current vector as a duration vector.- Returns:
- 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:
- the current vector as a duration vector
-