Uses of Class
java.lang.Float
Packages that useFloat
Package
Description
Provides classes and interface relating to fonts.
Provides classes that are fundamental to the design of the Javaprogramming language.
Provides classfile parsing, generation, and transformation library.
Provides the open data types and Open MBean descriptor classes.
Incubating Feature. Will be removed in a future release.
Uses ofFloat injava.awt.font
Fields injava.awt.font declared asFloatModifier and TypeFieldDescriptionstatic finalFloatTextAttribute.JUSTIFICATION_FULLJustify the line to the full requested width.static finalFloatTextAttribute.JUSTIFICATION_NONEDo not allow the line to be justified.static finalFloatTextAttribute.POSTURE_OBLIQUEThe standard italic posture.static finalFloatTextAttribute.POSTURE_REGULARThe standard posture, upright.static finalFloatTextAttribute.TRACKING_LOOSEPerform loose tracking.static finalFloatTextAttribute.TRACKING_TIGHTPerform tight tracking.static finalFloatTextAttribute.WEIGHT_BOLDThe standard bold weight.static finalFloatTextAttribute.WEIGHT_DEMIBOLDA moderately lighter weight thanWEIGHT_BOLD.static finalFloatTextAttribute.WEIGHT_DEMILIGHTAn intermediate weight betweenWEIGHT_LIGHTandWEIGHT_STANDARD.static finalFloatTextAttribute.WEIGHT_EXTRA_LIGHTThe lightest predefined weight.static finalFloatTextAttribute.WEIGHT_EXTRABOLDAn extra heavy weight.static finalFloatTextAttribute.WEIGHT_HEAVYA moderately heavier weight thanWEIGHT_BOLD.static finalFloatTextAttribute.WEIGHT_LIGHTThe standard light weight.static finalFloatTextAttribute.WEIGHT_MEDIUMAn intermediate weight betweenWEIGHT_REGULARandWEIGHT_BOLD.static finalFloatTextAttribute.WEIGHT_REGULARThe standard weight.static finalFloatTextAttribute.WEIGHT_SEMIBOLDA moderately heavier weight thanWEIGHT_REGULAR.static finalFloatTextAttribute.WEIGHT_ULTRABOLDThe heaviest predefined weight.static finalFloatTextAttribute.WIDTH_CONDENSEDThe most condensed predefined width.static finalFloatTextAttribute.WIDTH_EXTENDEDThe most extended predefined width.static finalFloatTextAttribute.WIDTH_REGULARThe standard width.static finalFloatTextAttribute.WIDTH_SEMI_CONDENSEDA moderately condensed width.static finalFloatTextAttribute.WIDTH_SEMI_EXTENDEDA moderately extended width.Uses ofFloat injava.lang
Modifier and TypeClassDescriptionfinal classModifier and TypeMethodDescriptionFloat.resolveConstantDesc(MethodHandles.Lookup lookup) Resolves this instance as aConstantDesc, the result of which isthe instance itself.staticFloatFloat.valueOf(float f) Returns aFloatinstance representing the specifiedfloatvalue.staticFloatReturns aFloatobject holding thefloatvalue represented by the argument strings.Modifier and TypeMethodDescriptionFloat.describeConstable()Returns anOptionalcontaining the nominal descriptor for thisinstance, which is the instance itself.Uses ofFloat injava.lang.classfile
Methods injava.lang.classfile that returnFloatModifier and TypeMethodDescriptiondefaultFloatAnnotationValue.OfFloat.resolvedValue()Returns the resolved float value.Uses ofFloat injavax.management.openmbean
Fields injavax.management.openmbean with type parameters of typeFloatModifier and TypeFieldDescriptionstatic finalSimpleType<Float> SimpleType.FLOATTheSimpleTypeinstance describing values whoseJava class name isjava.lang.Float.Uses ofFloat injdk.incubator.vector
Subclasses with type arguments of typeFloat injdk.incubator.vectorModifier and TypeClassDescriptionclassA specializedVectorrepresenting an ordered immutable sequence offloatvalues.Fields injdk.incubator.vector with type parameters of typeFloatModifier and TypeFieldDescriptionstatic finalVectorOperators.Conversion<Byte, Float> VectorOperators.B2FConvertbyteValto(float)byteVal.static finalVectorOperators.Conversion<Double, Float> VectorOperators.D2FConvertdoubleValto(float)doubleVal.static finalVectorOperators.Conversion<Float, Byte> VectorOperators.F2BConvertfloatValto(byte)floatVal.static finalVectorOperators.Conversion<Float, Double> VectorOperators.F2DConvertfloatValto(double)floatVal.static finalVectorOperators.Conversion<Float, Integer> VectorOperators.F2IConvertfloatValto(int)floatVal.static finalVectorOperators.Conversion<Float, Long> VectorOperators.F2LConvertfloatValto(long)floatVal.static finalVectorOperators.Conversion<Float, Short> VectorOperators.F2SConvertfloatValto(short)floatVal.static finalVectorOperators.Conversion<Integer, Float> VectorOperators.I2FConvertintValto(float)intVal.static finalVectorOperators.Conversion<Long, Float> VectorOperators.L2FConvertlongValto(float)longVal.static finalVectorOperators.Conversion<Float, Integer> VectorOperators.REINTERPRET_F2IReinterpret bits offloatValasint.static finalVectorOperators.Conversion<Integer, Float> VectorOperators.REINTERPRET_I2FReinterpret bits ofintValasfloat.static finalVectorOperators.Conversion<Short, Float> VectorOperators.S2FConvertshortValto(float)shortVal.static finalVectorSpecies<Float> FloatVector.SPECIES_128Species representingFloatVectors ofVectorShape.S_128_BIT.static finalVectorSpecies<Float> FloatVector.SPECIES_256Species representingFloatVectors ofVectorShape.S_256_BIT.static finalVectorSpecies<Float> FloatVector.SPECIES_512Species representingFloatVectors ofVectorShape.S_512_BIT.static finalVectorSpecies<Float> FloatVector.SPECIES_64Species representingFloatVectors ofVectorShape.S_64_BIT.static finalVectorSpecies<Float> FloatVector.SPECIES_MAXSpecies representingFloatVectors ofVectorShape.S_Max_BIT.static finalVectorSpecies<Float> FloatVector.SPECIES_PREFERREDPreferred species forFloatVectors.Methods injdk.incubator.vector that return types with arguments of typeFloatModifier and TypeMethodDescriptionabstractVectorMask<Float> FloatVector.compare(VectorOperators.Comparison op, float e) Tests this vector by comparing it with an input scalar,according to the given comparison operation.finalVectorMask<Float> FloatVector.compare(VectorOperators.Comparison op, float e,VectorMask<Float> m) Tests this vector by comparing it with an input scalar,according to the given comparison operation,in lanes selected by a mask.abstractVectorMask<Float> FloatVector.compare(VectorOperators.Comparison op, long e) Tests this vector by comparing it with an input scalar,according to the given comparison operation.finalVectorMask<Float> FloatVector.compare(VectorOperators.Comparison op, long e,VectorMask<Float> m) Tests this vector by comparing it with an input scalar,according to the given comparison operation,in lanes selected by a mask.abstractVectorMask<Float> FloatVector.compare(VectorOperators.Comparison op,Vector<Float> v) Tests this vector by comparing it with another input vector,according to the given comparison operation.finalVectorMask<Float> FloatVector.eq(float e) Tests if this vector is equal to an input scalar.finalVectorMask<Float> Tests if this vector is equal to another input vector.finalVectorMask<Float> FloatVector.lt(float e) Tests if this vector is less than an input scalar.finalVectorMask<Float> Tests if this vector is less than another input vector.abstractVectorMask<Float> FloatVector.test(VectorOperators.Test op) Tests the lanes of this vectoraccording to the given operation.abstractVectorMask<Float> FloatVector.test(VectorOperators.Test op,VectorMask<Float> m) Test selected lanes of this vector,according to the given operation.Method parameters injdk.incubator.vector with type arguments of typeFloatModifier and TypeMethodDescriptionfinalFloatVectorFloatVector.add(float e,VectorMask<Float> m) Adds this vector to the broadcast of an input scalar,selecting lane elements controlled by a mask.finalFloatVectorAdds this vector to a second input vector.finalFloatVectorFloatVector.add(Vector<Float> v,VectorMask<Float> m) Adds this vector to a second input vector, selecting lanesunder the control of a mask.finalFloatVectorFloatVector.add(Vector<Float> v,VectorMask<Float> m) Adds this vector to a second input vector, selecting lanesunder the control of a mask.finalFloatVectorFloatVector.blend(float e,VectorMask<Float> m) Replaces selected lanes of this vector witha scalar valueunder the control of a mask.finalFloatVectorFloatVector.blend(long e,VectorMask<Float> m) Replaces selected lanes of this vector witha scalar valueunder the control of a mask.abstractFloatVectorFloatVector.blend(Vector<Float> v,VectorMask<Float> m) Replaces selected lanes of this vector withcorresponding lanes from a second input vectorunder the control of a mask.abstractFloatVectorFloatVector.blend(Vector<Float> v,VectorMask<Float> m) Replaces selected lanes of this vector withcorresponding lanes from a second input vectorunder the control of a mask.staticFloatVectorFloatVector.broadcast(VectorSpecies<Float> species, float e) Returns a vector of the given specieswhere all lane elements are set tothe primitive valuee.staticFloatVectorFloatVector.broadcast(VectorSpecies<Float> species, long e) Returns a vector of the given specieswhere all lane elements are set tothe primitive valuee.finalVectorMask<Float> FloatVector.compare(VectorOperators.Comparison op, float e,VectorMask<Float> m) Tests this vector by comparing it with an input scalar,according to the given comparison operation,in lanes selected by a mask.finalVectorMask<Float> FloatVector.compare(VectorOperators.Comparison op, long e,VectorMask<Float> m) Tests this vector by comparing it with an input scalar,according to the given comparison operation,in lanes selected by a mask.abstractVectorMask<Float> FloatVector.compare(VectorOperators.Comparison op,Vector<Float> v) Tests this vector by comparing it with another input vector,according to the given comparison operation.abstractFloatVectorFloatVector.compress(VectorMask<Float> m) Compresses the lane elements of this vector selecting lanesunder the control of a specific mask.finalFloatVectorFloatVector.div(float e,VectorMask<Float> m) Divides this vector by the broadcast of an input scalar,selecting lane elements controlled by a mask.finalFloatVectorDivides this vector by a second input vector.finalFloatVectorFloatVector.div(Vector<Float> v,VectorMask<Float> m) Divides this vector by a second input vectorunder the control of a mask.finalFloatVectorFloatVector.div(Vector<Float> v,VectorMask<Float> m) Divides this vector by a second input vectorunder the control of a mask.finalVectorMask<Float> Tests if this vector is equal to another input vector.abstractFloatVectorFloatVector.expand(VectorMask<Float> m) Expands the lane elements of this vectorunder the control of a specific mask.finalFloatVectorMultiplies this vector by a second input vector, and sumsthe result with a third.staticFloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset) Loads a vector from an array of typefloat[]starting at an offset.staticFloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typefloat[],using indexes obtained by adding a fixedoffsetto aseries of secondary offsets from anindex map.staticFloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset, int[] indexMap, int mapOffset,VectorMask<Float> m) Gathers a new vector composed of elements from an array of typefloat[],under the control of a mask, andusing indexes obtained by adding a fixedoffsetto aseries of secondary offsets from anindex map.staticFloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset, int[] indexMap, int mapOffset,VectorMask<Float> m) Gathers a new vector composed of elements from an array of typefloat[],under the control of a mask, andusing indexes obtained by adding a fixedoffsetto aseries of secondary offsets from anindex map.staticFloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset,VectorMask<Float> m) Loads a vector from an array of typefloat[]starting at an offset and using a mask.staticFloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset,VectorMask<Float> m) Loads a vector from an array of typefloat[]starting at an offset and using a mask.staticFloatVectorFloatVector.fromMemorySegment(VectorSpecies<Float> species,MemorySegment ms, long offset,ByteOrder bo) Loads a vector from amemory segmentstarting at an offset into the memory segment.staticFloatVectorFloatVector.fromMemorySegment(VectorSpecies<Float> species,MemorySegment ms, long offset,ByteOrder bo,VectorMask<Float> m) Loads a vector from amemory segmentstarting at an offset into the memory segmentand using a mask.staticFloatVectorFloatVector.fromMemorySegment(VectorSpecies<Float> species,MemorySegment ms, long offset,ByteOrder bo,VectorMask<Float> m) Loads a vector from amemory segmentstarting at an offset into the memory segmentand using a mask.final voidFloatVector.intoArray(float[] a, int offset, int[] indexMap, int mapOffset,VectorMask<Float> m) Scatters this vector into an array of typefloat[],under the control of a mask, andusing indexes obtained by adding a fixedoffsetto aseries of secondary offsets from anindex map.final voidFloatVector.intoArray(float[] a, int offset,VectorMask<Float> m) Stores this vector into an array of typefloat[]starting at offset and using a mask.final voidFloatVector.intoMemorySegment(MemorySegment ms, long offset,ByteOrder bo,VectorMask<Float> m) Stores this vector into amemory segmentstarting at an offset using explicit byte order and a mask.finalFloatVectorFloatVector.lanewise(VectorOperators.Binary op, float e,VectorMask<Float> m) Combines the lane values of this vectorwith the value of a broadcast scalar,with selection of lane elements controlled by a mask.finalFloatVectorFloatVector.lanewise(VectorOperators.Binary op, long e,VectorMask<Float> m) Combines the corresponding lane values of this vectorwith those of a second input vector,with selection of lane elements controlled by a mask.abstractFloatVectorFloatVector.lanewise(VectorOperators.Binary op,Vector<Float> v) Combines the corresponding lane values of this vectorwith those of a second input vector.abstractFloatVectorFloatVector.lanewise(VectorOperators.Binary op,Vector<Float> v,VectorMask<Float> m) Combines the corresponding lane values of this vectorwith those of a second input vector,with selection of lane elements controlled by a mask.abstractFloatVectorFloatVector.lanewise(VectorOperators.Binary op,Vector<Float> v,VectorMask<Float> m) Combines the corresponding lane values of this vectorwith those of a second input vector,with selection of lane elements controlled by a mask.finalFloatVectorFloatVector.lanewise(VectorOperators.Ternary op, float e1, float e2,VectorMask<Float> m) Combines the lane values of this vectorwith the values of two broadcast scalars,with selection of lane elements controlled by a mask.finalFloatVectorFloatVector.lanewise(VectorOperators.Ternary op, float e1,Vector<Float> v2) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar.finalFloatVectorFloatVector.lanewise(VectorOperators.Ternary op, float e1,Vector<Float> v2,VectorMask<Float> m) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar,with selection of lane elements controlled by a mask.finalFloatVectorFloatVector.lanewise(VectorOperators.Ternary op, float e1,Vector<Float> v2,VectorMask<Float> m) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar,with selection of lane elements controlled by a mask.finalFloatVectorFloatVector.lanewise(VectorOperators.Ternary op,Vector<Float> v1, float e2) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar.finalFloatVectorFloatVector.lanewise(VectorOperators.Ternary op,Vector<Float> v1, float e2,VectorMask<Float> m) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar,with selection of lane elements controlled by a mask.finalFloatVectorFloatVector.lanewise(VectorOperators.Ternary op,Vector<Float> v1, float e2,VectorMask<Float> m) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar,with selection of lane elements controlled by a mask.abstractFloatVectorCombines the corresponding lane values of this vectorwith the lanes of a second and a third input vector.abstractFloatVectorFloatVector.lanewise(VectorOperators.Ternary op,Vector<Float> v1,Vector<Float> v2,VectorMask<Float> m) Combines the corresponding lane values of this vectorwith the lanes of a second and a third input vector,with selection of lane elements controlled by a mask.abstractFloatVectorFloatVector.lanewise(VectorOperators.Ternary op,Vector<Float> v1,Vector<Float> v2,VectorMask<Float> m) Combines the corresponding lane values of this vectorwith the lanes of a second and a third input vector,with selection of lane elements controlled by a mask.abstractFloatVectorFloatVector.lanewise(VectorOperators.Unary op,VectorMask<Float> m) Operates on the lane values of this vector,with selection of lane elements controlled by a mask.finalVectorMask<Float> Tests if this vector is less than another input vector.finalFloatVectorComputes the larger of this vector and a second input vector.finalFloatVectorComputes the smaller of this vector and a second input vector.finalFloatVectorFloatVector.mul(float e,VectorMask<Float> m) Multiplies this vector by the broadcast of an input scalar,selecting lane elements controlled by a mask.finalFloatVectorMultiplies this vector by a second input vector.finalFloatVectorFloatVector.mul(Vector<Float> v,VectorMask<Float> m) Multiplies this vector by a second input vectorunder the control of a mask.finalFloatVectorFloatVector.mul(Vector<Float> v,VectorMask<Float> m) Multiplies this vector by a second input vectorunder the control of a mask.finalFloatVectorRaises this vector to the power of a second input vector.abstractFloatVectorFloatVector.rearrange(VectorShuffle<Float> shuffle) Rearranges the lane elements of this vector, selecting lanesunder the control of a specific shuffle.abstractFloatVectorFloatVector.rearrange(VectorShuffle<Float> s,Vector<Float> v) Rearranges the lane elements of two vectors, selecting lanesunder the control of a specific shuffle, using both normal andexceptional indexes in the shuffle to steer data.abstractFloatVectorFloatVector.rearrange(VectorShuffle<Float> s,Vector<Float> v) Rearranges the lane elements of two vectors, selecting lanesunder the control of a specific shuffle, using both normal andexceptional indexes in the shuffle to steer data.abstractFloatVectorFloatVector.rearrange(VectorShuffle<Float> s,VectorMask<Float> m) Rearranges the lane elements of this vector, selecting lanesunder the control of a specific shuffle and a mask.abstractFloatVectorFloatVector.rearrange(VectorShuffle<Float> s,VectorMask<Float> m) Rearranges the lane elements of this vector, selecting lanesunder the control of a specific shuffle and a mask.abstract floatFloatVector.reduceLanes(VectorOperators.Associative op,VectorMask<Float> m) Returns a value accumulated from selected lanes of this vector,controlled by a mask.abstractFloatVectorFloatVector.selectFrom(Vector<Float> v) Using index values stored in the lanes of this vector,assemble values stored in second vectorv.abstractFloatVectorFloatVector.selectFrom(Vector<Float> v1,Vector<Float> v2) Using values stored in the lanes of this vector,assemble values stored in the second vectorv1and third vectorv2.abstractFloatVectorFloatVector.selectFrom(Vector<Float> s,VectorMask<Float> m) Using index values stored in the lanes of this vector,assemble values stored in second vector, under the controlof a mask.abstractFloatVectorFloatVector.selectFrom(Vector<Float> s,VectorMask<Float> m) Using index values stored in the lanes of this vector,assemble values stored in second vector, under the controlof a mask.abstractFloatVectorSlices a segment of adjacent lanes, starting at a givenoriginlane in the current vector, and continuing (asneeded) into an immediately following vector.finalFloatVectorFloatVector.slice(int origin,Vector<Float> w,VectorMask<Float> m) Slices a segment of adjacent lanesunder the control of a mask,starting at a givenoriginlane in the current vector, and continuing (asneeded) into an immediately following vector.finalFloatVectorFloatVector.slice(int origin,Vector<Float> w,VectorMask<Float> m) Slices a segment of adjacent lanesunder the control of a mask,starting at a givenoriginlane in the current vector, and continuing (asneeded) into an immediately following vector.finalFloatVectorFloatVector.sub(float e,VectorMask<Float> m) Subtracts an input scalar from this vectorunder the control of a mask.finalFloatVectorSubtracts a second input vector from this vector.finalFloatVectorFloatVector.sub(Vector<Float> v,VectorMask<Float> m) Subtracts a second input vector from this vectorunder the control of a mask.finalFloatVectorFloatVector.sub(Vector<Float> v,VectorMask<Float> m) Subtracts a second input vector from this vectorunder the control of a mask.abstractVectorMask<Float> FloatVector.test(VectorOperators.Test op,VectorMask<Float> m) Test selected lanes of this vector,according to the given operation.abstractFloatVectorReverses aslice(), insertingthe current vector as a slice within another "background" inputvector, which is regarded as one or the other input to ahypothetical subsequentslice()operation.abstractFloatVectorFloatVector.unslice(int origin,Vector<Float> w, int part,VectorMask<Float> m) Reverses aslice(), inserting(under the control of a mask)the current vector as a slice within another "background" inputvector, which is regarded as one or the other input to ahypothetical subsequentslice()operation.abstractFloatVectorFloatVector.unslice(int origin,Vector<Float> w, int part,VectorMask<Float> m) Reverses aslice(), inserting(under the control of a mask)the current vector as a slice within another "background" inputvector, which is regarded as one or the other input to ahypothetical subsequentslice()operation.staticFloatVectorFloatVector.zero(VectorSpecies<Float> species) Returns a vector of the given specieswhere all lane elements are set tozero, the default primitive value.