Package org.djunits.value.vfloat.vector
Class FloatSIVector
java.lang.Object
org.djunits.value.AbstractValue<U,T>
org.djunits.value.AbstractIndexedValue<U,S,V,FloatVectorData>
org.djunits.value.vfloat.vector.base.AbstractFloatVector<U,S,RV>
org.djunits.value.vfloat.vector.base.AbstractFloatVectorRel<SIUnit,FloatSIScalar,FloatSIVector>
org.djunits.value.vfloat.vector.FloatSIVector
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<FloatSIScalar>,Vector<SIUnit,FloatSIScalar,FloatSIVector>,Vector.Rel<SIUnit,FloatSIScalar,FloatSIVector>,ValueFunctions<SIUnit,FloatSIVector>,IndexedValue<SIUnit,FloatSIScalar,FloatSIVector>,Relative<SIUnit,FloatSIVector>,Value<SIUnit,FloatSIVector>,FloatVectorInterface<SIUnit,FloatSIScalar,FloatSIVector>
@Generated(value="org.djunits.generator.GenerateDJUNIT", date="2020-01-19T15:21:24.964166400Z") public class FloatSIVector extends AbstractFloatVectorRel<SIUnit,FloatSIScalar,FloatSIVector>
Easy access methods for the generic Relative SI FloatVector.
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class org.djunits.value.vfloat.vector.base.AbstractFloatVector
AbstractFloatVector.ItrNested classes/interfaces inherited from interface org.djunits.value.base.Vector
Vector.Abs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar<AU,A>,AV extends Vector.Abs<AU,A,AV,RU,R,RV>,RU extends Unit<RU>,R extends Scalar<RU,R>,RV extends Vector.RelWithAbs<AU,A,AV,RU,R,RV>>, Vector.Rel<U extends Unit<U>,S extends Scalar<U,S>,RV extends Vector.Rel<U,S,RV>>, Vector.RelWithAbs<AU extends AbsoluteLinearUnit<AU,RU>,A extends Scalar<AU,A>,AV extends Vector.Abs<AU,A,AV,RU,R,RV>,RU extends Unit<RU>,R extends Scalar<RU,R>,RV extends Vector.RelWithAbs<AU,A,AV,RU,R,RV>> -
Field Summary
-
Constructor Summary
Constructors Constructor Description FloatSIVector(FloatVectorData data, SIUnit unit) -
Method Summary
Modifier and Type Method Description <U extends Unit<U>, S extends AbstractFloatScalarRel<U, S>, V extends AbstractFloatVectorRel<U, S, V>>
Vas(U displayUnit)Return the current vector transformed to a vector in the given unit.FloatAbsorbedDoseVectorasAbsorbedDose()Return the current vector as a absorbeddose vector.FloatAbsorbedDoseVectorasAbsorbedDose(AbsorbedDoseUnit displayUnit)Return the current vector as a absorbeddose vector, and provide a display unit.FloatAccelerationVectorasAcceleration()Return the current vector as a acceleration vector.FloatAccelerationVectorasAcceleration(AccelerationUnit displayUnit)Return the current vector as a acceleration vector, and provide a display unit.FloatAmountOfSubstanceVectorasAmountOfSubstance()Return the current vector as a amountofsubstance vector.FloatAmountOfSubstanceVectorasAmountOfSubstance(AmountOfSubstanceUnit displayUnit)Return the current vector as a amountofsubstance vector, and provide a display unit.FloatAngleVectorasAngle()Return the current vector as a angle vector.FloatAngleVectorasAngle(AngleUnit displayUnit)Return the current vector as a angle vector, and provide a display unit.FloatAngularAccelerationVectorasAngularAcceleration()Return the current vector as a angularacceleration vector.FloatAngularAccelerationVectorasAngularAcceleration(AngularAccelerationUnit displayUnit)Return the current vector as a angularacceleration vector, and provide a display unit.FloatAngularVelocityVectorasAngularVelocity()Return the current vector as a angularvelocity vector.FloatAngularVelocityVectorasAngularVelocity(AngularVelocityUnit displayUnit)Return the current vector as a angularvelocity vector, and provide a display unit.FloatAreaVectorasArea()Return the current vector as a area vector.FloatAreaVectorasArea(AreaUnit displayUnit)Return the current vector as a area vector, and provide a display unit.FloatCatalyticActivityVectorasCatalyticActivity()Return the current vector as a catalyticactivity vector.FloatCatalyticActivityVectorasCatalyticActivity(CatalyticActivityUnit displayUnit)Return the current vector as a catalyticactivity vector, and provide a display unit.FloatDensityVectorasDensity()Return the current vector as a density vector.FloatDensityVectorasDensity(DensityUnit displayUnit)Return the current vector as a density vector, and provide a display unit.FloatDimensionlessVectorasDimensionless()Return the current vector as a dimensionless vector.FloatDimensionlessVectorasDimensionless(DimensionlessUnit displayUnit)Return the current vector as a dimensionless vector, and provide a display unit.FloatDurationVectorasDuration()Return the current vector as a duration vector.FloatDurationVectorasDuration(DurationUnit displayUnit)Return the current vector as a duration vector, and provide a display unit.FloatElectricalCapacitanceVectorasElectricalCapacitance()Return the current vector as a electricalcapacitance vector.FloatElectricalCapacitanceVectorasElectricalCapacitance(ElectricalCapacitanceUnit displayUnit)Return the current vector as a electricalcapacitance vector, and provide a display unit.FloatElectricalChargeVectorasElectricalCharge()Return the current vector as a electricalcharge vector.FloatElectricalChargeVectorasElectricalCharge(ElectricalChargeUnit displayUnit)Return the current vector as a electricalcharge vector, and provide a display unit.FloatElectricalConductanceVectorasElectricalConductance()Return the current vector as a electricalconductance vector.FloatElectricalConductanceVectorasElectricalConductance(ElectricalConductanceUnit displayUnit)Return the current vector as a electricalconductance vector, and provide a display unit.FloatElectricalCurrentVectorasElectricalCurrent()Return the current vector as a electricalcurrent vector.FloatElectricalCurrentVectorasElectricalCurrent(ElectricalCurrentUnit displayUnit)Return the current vector as a electricalcurrent vector, and provide a display unit.FloatElectricalInductanceVectorasElectricalInductance()Return the current vector as a electricalinductance vector.FloatElectricalInductanceVectorasElectricalInductance(ElectricalInductanceUnit displayUnit)Return the current vector as a electricalinductance vector, and provide a display unit.FloatElectricalPotentialVectorasElectricalPotential()Return the current vector as a electricalpotential vector.FloatElectricalPotentialVectorasElectricalPotential(ElectricalPotentialUnit displayUnit)Return the current vector as a electricalpotential vector, and provide a display unit.FloatElectricalResistanceVectorasElectricalResistance()Return the current vector as a electricalresistance vector.FloatElectricalResistanceVectorasElectricalResistance(ElectricalResistanceUnit displayUnit)Return the current vector as a electricalresistance vector, and provide a display unit.FloatEnergyVectorasEnergy()Return the current vector as a energy vector.FloatEnergyVectorasEnergy(EnergyUnit displayUnit)Return the current vector as a energy vector, and provide a display unit.FloatEquivalentDoseVectorasEquivalentDose()Return the current vector as a equivalentdose vector.FloatEquivalentDoseVectorasEquivalentDose(EquivalentDoseUnit displayUnit)Return the current vector as a equivalentdose vector, and provide a display unit.FloatFlowMassVectorasFlowMass()Return the current vector as a flowmass vector.FloatFlowMassVectorasFlowMass(FlowMassUnit displayUnit)Return the current vector as a flowmass vector, and provide a display unit.FloatFlowVolumeVectorasFlowVolume()Return the current vector as a flowvolume vector.FloatFlowVolumeVectorasFlowVolume(FlowVolumeUnit displayUnit)Return the current vector as a flowvolume vector, and provide a display unit.FloatForceVectorasForce()Return the current vector as a force vector.FloatForceVectorasForce(ForceUnit displayUnit)Return the current vector as a force vector, and provide a display unit.FloatFrequencyVectorasFrequency()Return the current vector as a frequency vector.FloatFrequencyVectorasFrequency(FrequencyUnit displayUnit)Return the current vector as a frequency vector, and provide a display unit.FloatIlluminanceVectorasIlluminance()Return the current vector as a illuminance vector.FloatIlluminanceVectorasIlluminance(IlluminanceUnit displayUnit)Return the current vector as a illuminance vector, and provide a display unit.FloatLengthVectorasLength()Return the current vector as a length vector.FloatLengthVectorasLength(LengthUnit displayUnit)Return the current vector as a length vector, and provide a display unit.FloatLinearDensityVectorasLinearDensity()Return the current vector as a lineardensity vector.FloatLinearDensityVectorasLinearDensity(LinearDensityUnit displayUnit)Return the current vector as a lineardensity vector, and provide a display unit.FloatLuminousFluxVectorasLuminousFlux()Return the current vector as a luminousflux vector.FloatLuminousFluxVectorasLuminousFlux(LuminousFluxUnit displayUnit)Return the current vector as a luminousflux vector, and provide a display unit.FloatLuminousIntensityVectorasLuminousIntensity()Return the current vector as a luminousintensity vector.FloatLuminousIntensityVectorasLuminousIntensity(LuminousIntensityUnit displayUnit)Return the current vector as a luminousintensity vector, and provide a display unit.FloatMagneticFluxVectorasMagneticFlux()Return the current vector as a magneticflux vector.FloatMagneticFluxVectorasMagneticFlux(MagneticFluxUnit displayUnit)Return the current vector as a magneticflux vector, and provide a display unit.FloatMagneticFluxDensityVectorasMagneticFluxDensity()Return the current vector as a magneticfluxdensity vector.FloatMagneticFluxDensityVectorasMagneticFluxDensity(MagneticFluxDensityUnit displayUnit)Return the current vector as a magneticfluxdensity vector, and provide a display unit.FloatMassVectorasMass()Return the current vector as a mass vector.FloatMassVectorasMass(MassUnit displayUnit)Return the current vector as a mass vector, and provide a display unit.FloatMomentumVectorasMomentum()Return the current vector as a momentum vector.FloatMomentumVectorasMomentum(MomentumUnit displayUnit)Return the current vector as a momentum vector, and provide a display unit.FloatPowerVectorasPower()Return the current vector as a power vector.FloatPowerVectorasPower(PowerUnit displayUnit)Return the current vector as a power vector, and provide a display unit.FloatPressureVectorasPressure()Return the current vector as a pressure vector.FloatPressureVectorasPressure(PressureUnit displayUnit)Return the current vector as a pressure vector, and provide a display unit.FloatRadioActivityVectorasRadioActivity()Return the current vector as a radioactivity vector.FloatRadioActivityVectorasRadioActivity(RadioActivityUnit displayUnit)Return the current vector as a radioactivity vector, and provide a display unit.FloatSolidAngleVectorasSolidAngle()Return the current vector as a solidangle vector.FloatSolidAngleVectorasSolidAngle(SolidAngleUnit displayUnit)Return the current vector as a solidangle vector, and provide a display unit.FloatSpeedVectorasSpeed()Return the current vector as a speed vector.FloatSpeedVectorasSpeed(SpeedUnit displayUnit)Return the current vector as a speed vector, and provide a display unit.FloatTemperatureVectorasTemperature()Return the current vector as a temperature vector.FloatTemperatureVectorasTemperature(TemperatureUnit displayUnit)Return the current vector as a temperature vector, and provide a display unit.FloatTorqueVectorasTorque()Return the current vector as a torque vector.FloatTorqueVectorasTorque(TorqueUnit displayUnit)Return the current vector as a torque vector, and provide a display unit.FloatVolumeVectorasVolume()Return the current vector as a volume vector.FloatVolumeVectorasVolume(VolumeUnit displayUnit)Return the current vector as a volume vector, and provide a display unit.Class<FloatSIScalar>getScalarClass()Return the class of the corresponding scalar.static FloatSIVectorinstantiate(float[] values, SIUnit unit, StorageType storageType)Construct a new Relative Float SIVector.static FloatSIVectorinstantiate(List<Float> values, SIUnit unit, StorageType storageType)Construct a new Relative Float SIVector.static FloatSIVectorinstantiate(SortedMap<Integer,Float> values, int length, SIUnit unit, StorageType storageType)Construct a new Relative Float SIVector.FloatSIScalarinstantiateScalarSI(float valueSI, SIUnit unit)Instantiate a new scalar for the class of this vector.FloatSIVectorinstantiateVector(FloatVectorData fvd, SIUnit unit)Instantiate a new vector of the class of this vector.static FloatSIVectorof(float[] value, String unitString, StorageType storageType)Returns an SIVector based on an array of values and the textual representation of the unit.static FloatSIVectorof(List<Float> valueList, String unitString, StorageType storageType)Returns an SIVector based on an array of values and the textual representation of the unit.static FloatSIVectorof(SortedMap<Integer,Float> valueMap, String unitString, int length, StorageType storageType)Returns an SIVector based on a (sparse) map of values and the textual representation of the unit.Methods inherited from class org.djunits.value.vfloat.vector.base.AbstractFloatVectorRel
decrementBy, decrementBy, divide, divide, divide, divideBy, incrementBy, incrementBy, minus, multiplyBy, plus, times, times, times, zSumMethods inherited from class org.djunits.value.vfloat.vector.base.AbstractFloatVector
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, toStringMethods inherited from class org.djunits.value.AbstractIndexedValue
cardinality, checkCopyOnWrite, clone, getStorageType, immutable, isCopyOnWrite, isDense, isMutable, isSparse, mutable, setCopyOnWrite, setMutableMethods inherited from class org.djunits.value.AbstractValue
getDisplayUnit, isAbsolute, isRelative, setDisplayUnitMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.djunits.value.IndexedValue
cardinality, getStorageType, immutable, isDense, isMutable, isSparse, mutable, toDense, toSparseMethods inherited from interface org.djunits.value.Value
getDisplayUnit, isAbsolute, isRelative, setDisplayUnit, toString, toString, toString, toString
-
Constructor Details
-
FloatSIVector
- Parameters:
data- FloatVectorData; an internal data objectunit- SIUnit; the unit
-
-
Method Details
-
instantiate
public static FloatSIVector instantiate(float[] values, SIUnit unit, StorageType storageType) throws ValueRuntimeExceptionConstruct a new Relative Float SIVector.- Parameters:
values- float[]; the values of the entries in the new Relative Float SIVectorunit- SIUnit; the unit of the new Relative Float SIVectorstorageType- StorageType; the data type to use (e.g., DENSE or SPARSE)- Returns:
- SIVector; the SIVector of the given unit
- Throws:
ValueRuntimeException- when values is null
-
instantiate
public static FloatSIVector instantiate(List<Float> values, SIUnit unit, StorageType storageType) throws ValueRuntimeExceptionConstruct a new Relative Float SIVector.- Parameters:
values- List<Float>; the values of the entries in the new Relative Float SIVectorunit- SIUnit; the unit of the new Relative Float SIVectorstorageType- StorageType; the data type to use (e.g., DENSE or SPARSE)- Returns:
- SIVector; the SIVector of the given unit
- Throws:
ValueRuntimeException- when values is null
-
instantiate
public static FloatSIVector instantiate(SortedMap<Integer,Float> values, int length, SIUnit unit, StorageType storageType) throws ValueRuntimeExceptionConstruct a new Relative Float SIVector.- Parameters:
values- SortedMap<Integer, Float>; the map of indexes to values of the Relative Sparse Float SIVectorlength- int; the size of the vectorunit- SIUnit; the unit of the new Relative Sparse Float SIVectorstorageType- StorageType; the data type to use (e.g., DENSE or SPARSE)- Returns:
- SIVector; the SIVector of the given unit
- Throws:
ValueRuntimeException- when values is null
-
getScalarClass
Return the class of the corresponding scalar.- Returns:
- Class<S>; the class of the corresponding scalar
-
of
Returns an SIVector 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:
- SIVector; 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 an SIVector 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:
- SIVector; 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(SortedMap<Integer,Float> valueMap, String unitString, int length, StorageType storageType)Returns an SIVector based on a (sparse) map of values and the textual representation of the unit.- Parameters:
valueMap- SortedMap<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:
- SIVector; 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
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.- 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
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.- 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
-
as
public final <U extends Unit<U>, S extends AbstractFloatScalarRel<U, S>, V extends AbstractFloatVectorRel<U, S, V>> V as(U displayUnit)Return the current vector transformed to a vector in the given unit. Of course the SI dimensionality has to match, otherwise the vector cannot be transformed. The compiler will check the alignment between the return value and the unit.- Type Parameters:
U- the unit typeS- the scalar typeV- the vector type- Parameters:
displayUnit- KU; the unit in which the vector needs to be expressed- Returns:
- V; the vector that has been transformed into the right vector type and unit
-
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
-