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 Java programming language.
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 TypeFieldDescriptionstaticFloatTextAttribute.JUSTIFICATION_FULLJustify the line to the full requested width.staticFloatTextAttribute.JUSTIFICATION_NONEDo not allow the line to be justified.staticFloatTextAttribute.POSTURE_OBLIQUEThe standard italic posture.staticFloatTextAttribute.POSTURE_REGULARThe standard posture, upright.staticFloatTextAttribute.TRACKING_LOOSEPerform loose tracking.staticFloatTextAttribute.TRACKING_TIGHTPerform tight tracking.staticFloatTextAttribute.WEIGHT_BOLDThe standard bold weight.staticFloatTextAttribute.WEIGHT_DEMIBOLDA moderately lighter weight thanWEIGHT_BOLD.staticFloatTextAttribute.WEIGHT_DEMILIGHTAn intermediate weight betweenWEIGHT_LIGHTandWEIGHT_STANDARD.staticFloatTextAttribute.WEIGHT_EXTRA_LIGHTThe lightest predefined weight.staticFloatTextAttribute.WEIGHT_EXTRABOLDAn extra heavy weight.staticFloatTextAttribute.WEIGHT_HEAVYA moderately heavier weight thanWEIGHT_BOLD.staticFloatTextAttribute.WEIGHT_LIGHTThe standard light weight.staticFloatTextAttribute.WEIGHT_MEDIUMAn intermediate weight betweenWEIGHT_REGULARandWEIGHT_BOLD.staticFloatTextAttribute.WEIGHT_REGULARThe standard weight.staticFloatTextAttribute.WEIGHT_SEMIBOLDA moderately heavier weight thanWEIGHT_REGULAR.staticFloatTextAttribute.WEIGHT_ULTRABOLDThe heaviest predefined weight.staticFloatTextAttribute.WIDTH_CONDENSEDThe most condensed predefined width.staticFloatTextAttribute.WIDTH_EXTENDEDThe most extended predefined width.staticFloatTextAttribute.WIDTH_REGULARThe standard width.staticFloatTextAttribute.WIDTH_SEMI_CONDENSEDA moderately condensed width.staticFloatTextAttribute.WIDTH_SEMI_EXTENDEDA moderately extended width.Uses ofFloat injava.lang
Modifier and TypeMethodDescriptionFloat.resolveConstantDesc(MethodHandles.Lookup lookup)Resolves this instance as aConstantDesc, the result of which is the 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 this instance, which is the instance itself.Uses ofFloat injavax.management.openmbean
Fields injavax.management.openmbean with type parameters of typeFloatModifier and TypeFieldDescriptionstaticSimpleType<Float>SimpleType.FLOATTheSimpleTypeinstance describing values whose Java class name isjava.lang.Float.Uses ofFloat injdk.incubator.vector
Fields injdk.incubator.vector with type parameters of typeFloatModifier and TypeFieldDescriptionstaticVectorOperators.Conversion<Byte,Float>VectorOperators.B2FConvertbyteValto(float)byteVal.staticVectorOperators.Conversion<Double,Float>VectorOperators.D2FConvertdoubleValto(float)doubleVal.staticVectorOperators.Conversion<Float,Byte>VectorOperators.F2BConvertfloatValto(byte)floatVal.staticVectorOperators.Conversion<Float,Double>VectorOperators.F2DConvertfloatValto(double)floatVal.staticVectorOperators.Conversion<Float,Integer>VectorOperators.F2IConvertfloatValto(int)floatVal.staticVectorOperators.Conversion<Float,Long>VectorOperators.F2LConvertfloatValto(long)floatVal.staticVectorOperators.Conversion<Float,Short>VectorOperators.F2SConvertfloatValto(short)floatVal.staticVectorOperators.Conversion<Integer,Float>VectorOperators.I2FConvertintValto(float)intVal.staticVectorOperators.Conversion<Long,Float>VectorOperators.L2FConvertlongValto(float)longVal.staticVectorOperators.Conversion<Float,Integer>VectorOperators.REINTERPRET_F2IReinterpret bits offloatValasint.staticVectorOperators.Conversion<Integer,Float>VectorOperators.REINTERPRET_I2FReinterpret bits ofintValasfloat.staticVectorOperators.Conversion<Short,Float>VectorOperators.S2FConvertshortValto(float)shortVal.staticVectorSpecies<Float>FloatVector.SPECIES_128Species representingFloatVectors ofVectorShape.S_128_BIT.staticVectorSpecies<Float>FloatVector.SPECIES_256Species representingFloatVectors ofVectorShape.S_256_BIT.staticVectorSpecies<Float>FloatVector.SPECIES_512Species representingFloatVectors ofVectorShape.S_512_BIT.staticVectorSpecies<Float>FloatVector.SPECIES_64Species representingFloatVectors ofVectorShape.S_64_BIT.staticVectorSpecies<Float>FloatVector.SPECIES_MAXSpecies representingFloatVectors ofVectorShape.S_Max_BIT.staticVectorSpecies<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.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.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.FloatVector.compare(VectorOperators.Comparison op,Vector<Float> v,VectorMask<Float> m)Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.FloatVector.eq(float e)Tests if this vector is equal to an input scalar.Tests if this vector is equal to another input vector.FloatVector.lt(float e)Tests if this vector is less than an input scalar.Tests if this vector is less than another input vector.abstractVectorMask<Float>FloatVector.test(VectorOperators.Test op)Tests the lanes of this vector according to the given operation.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 TypeMethodDescriptionFloatVector.add(float e,VectorMask<Float> m)Adds this vector to the broadcast of an input scalar, selecting lane elements controlled by a mask.Adds this vector to a second input vector.FloatVector.add(Vector<Float> v,VectorMask<Float> m)Adds this vector to a second input vector, selecting lanes under the control of a mask.FloatVector.add(Vector<Float> v,VectorMask<Float> m)Adds this vector to a second input vector, selecting lanes under the control of a mask.FloatVector.blend(float e,VectorMask<Float> m)Replaces selected lanes of this vector with a scalar value under the control of a mask.FloatVector.blend(long e,VectorMask<Float> m)Replaces selected lanes of this vector with a scalar value under the control of a mask.abstractFloatVectorFloatVector.blend(Vector<Float> v,VectorMask<Float> m)Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.abstractFloatVectorFloatVector.blend(Vector<Float> v,VectorMask<Float> m)Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.staticFloatVectorFloatVector.broadcast(VectorSpecies<Float> species, float e)Returns a vector of the given species where all lane elements are set to the primitive valuee.staticFloatVectorFloatVector.broadcast(VectorSpecies<Float> species, long e)Returns a vector of the given species where all lane elements are set to the primitive valuee.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.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.FloatVector.compare(VectorOperators.Comparison op,Vector<Float> v,VectorMask<Float> m)Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.FloatVector.compare(VectorOperators.Comparison op,Vector<Float> v,VectorMask<Float> m)Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.FloatVector.div(float e,VectorMask<Float> m)Divides this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.Divides this vector by a second input vector.FloatVector.div(Vector<Float> v,VectorMask<Float> m)Divides this vector by a second input vector under the control of a mask.FloatVector.div(Vector<Float> v,VectorMask<Float> m)Divides this vector by a second input vector under the control of a mask.Tests if this vector is equal to another input vector.Multiplies this vector by a second input vector, and sums the 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 a series 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, and using indexes obtained by adding a fixedoffsetto a series 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, and using indexes obtained by adding a fixedoffsetto a series 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.fromByteArray(VectorSpecies<Float> species, byte[] a, int offset,ByteOrder bo)Loads a vector from a byte array starting at an offset.staticFloatVectorFloatVector.fromByteArray(VectorSpecies<Float> species, byte[] a, int offset,ByteOrder bo,VectorMask<Float> m)Loads a vector from a byte array starting at an offset and using a mask.staticFloatVectorFloatVector.fromByteArray(VectorSpecies<Float> species, byte[] a, int offset,ByteOrder bo,VectorMask<Float> m)Loads a vector from a byte array starting at an offset and using a mask.staticFloatVectorFloatVector.fromByteBuffer(VectorSpecies<Float> species,ByteBuffer bb, int offset,ByteOrder bo)Loads a vector from abyte buffer starting at an offset into the byte buffer.staticFloatVectorFloatVector.fromByteBuffer(VectorSpecies<Float> species,ByteBuffer bb, int offset,ByteOrder bo,VectorMask<Float> m)Loads a vector from abyte buffer starting at an offset into the byte buffer and using a mask.staticFloatVectorFloatVector.fromByteBuffer(VectorSpecies<Float> species,ByteBuffer bb, int offset,ByteOrder bo,VectorMask<Float> m)Loads a vector from abyte buffer starting at an offset into the byte buffer and using a mask.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, and using indexes obtained by adding a fixedoffsetto a series of secondary offsets from anindex map.voidFloatVector.intoArray(float[] a, int offset,VectorMask<Float> m)Stores this vector into an array offloatstarting at offset and using a mask.voidFloatVector.intoByteArray(byte[] a, int offset,ByteOrder bo,VectorMask<Float> m)Stores this vector into a byte array starting at an offset using explicit byte order and a mask.voidFloatVector.intoByteBuffer(ByteBuffer bb, int offset,ByteOrder bo,VectorMask<Float> m)Stores this vector into a byte buffer starting at an offset using explicit byte order and a mask.FloatVector.lanewise(VectorOperators.Binary op, float e,VectorMask<Float> m)Combines the lane values of this vector with the value of a broadcast scalar, with selection of lane elements controlled by a mask.FloatVector.lanewise(VectorOperators.Binary op, long e,VectorMask<Float> m)Combines the corresponding lane values of this vector with 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 vector with those of a second input vector.FloatVector.lanewise(VectorOperators.Binary op,Vector<Float> v,VectorMask<Float> m)Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.FloatVector.lanewise(VectorOperators.Binary op,Vector<Float> v,VectorMask<Float> m)Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.FloatVector.lanewise(VectorOperators.Ternary op, float e1, float e2,VectorMask<Float> m)Combines the lane values of this vector with the values of two broadcast scalars, with selection of lane elements controlled by a mask.FloatVector.lanewise(VectorOperators.Ternary op, float e1,Vector<Float> v2)Combines the lane values of this vector with the values of another vector and a broadcast scalar.FloatVector.lanewise(VectorOperators.Ternary op, float e1,Vector<Float> v2,VectorMask<Float> m)Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.FloatVector.lanewise(VectorOperators.Ternary op, float e1,Vector<Float> v2,VectorMask<Float> m)Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.FloatVector.lanewise(VectorOperators.Ternary op,Vector<Float> v1, float e2)Combines the lane values of this vector with the values of another vector and a broadcast scalar.FloatVector.lanewise(VectorOperators.Ternary op,Vector<Float> v1, float e2,VectorMask<Float> m)Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.FloatVector.lanewise(VectorOperators.Ternary op,Vector<Float> v1, float e2,VectorMask<Float> m)Combines the lane values of this vector with 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 vector with the lanes of a second and a third input vector.FloatVector.lanewise(VectorOperators.Ternary op,Vector<Float> v1,Vector<Float> v2,VectorMask<Float> m)Combines the corresponding lane values of this vector with the lanes of a second and a third input vector, with selection of lane elements controlled by a mask.FloatVector.lanewise(VectorOperators.Ternary op,Vector<Float> v1,Vector<Float> v2,VectorMask<Float> m)Combines the corresponding lane values of this vector with the lanes of a second and a third input vector, with selection of lane elements controlled by a mask.FloatVector.lanewise(VectorOperators.Unary op,VectorMask<Float> m)Operates on the lane values of this vector, with selection of lane elements controlled by a mask.Tests if this vector is less than another input vector.Computes the larger of this vector and a second input vector.Computes the smaller of this vector and a second input vector.FloatVector.mul(float e,VectorMask<Float> m)Multiplies this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.Multiplies this vector by a second input vector.FloatVector.mul(Vector<Float> v,VectorMask<Float> m)Multiplies this vector by a second input vector under the control of a mask.FloatVector.mul(Vector<Float> v,VectorMask<Float> m)Multiplies this vector by a second input vector under the control of a mask.Raises this vector to the power of a second input vector.abstractFloatVectorFloatVector.rearrange(VectorShuffle<Float> m)Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle.abstractFloatVectorFloatVector.rearrange(VectorShuffle<Float> s,Vector<Float> v)Rearranges the lane elements of two vectors, selecting lanes under the control of a specific shuffle, using both normal and exceptional indexes in the shuffle to steer data.abstractFloatVectorFloatVector.rearrange(VectorShuffle<Float> s,Vector<Float> v)Rearranges the lane elements of two vectors, selecting lanes under the control of a specific shuffle, using both normal and exceptional indexes in the shuffle to steer data.abstractFloatVectorFloatVector.rearrange(VectorShuffle<Float> s,VectorMask<Float> m)Rearranges the lane elements of this vector, selecting lanes under 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 lanes under 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> s,VectorMask<Float> m)Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of 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 control of a mask.abstractFloatVectorSlices a segment of adjacent lanes, starting at a givenoriginlane in the current vector, and continuing (as needed) into an immediately following vector.FloatVector.slice(int origin,Vector<Float> w,VectorMask<Float> m)Slices a segment of adjacent lanes under the control of a mask, starting at a givenoriginlane in the current vector, and continuing (as needed) into an immediately following vector.FloatVector.slice(int origin,Vector<Float> w,VectorMask<Float> m)Slices a segment of adjacent lanes under the control of a mask, starting at a givenoriginlane in the current vector, and continuing (as needed) into an immediately following vector.FloatVector.sub(float e,VectorMask<Float> m)Subtracts an input scalar from this vector under the control of a mask.Subtracts a second input vector from this vector.FloatVector.sub(Vector<Float> v,VectorMask<Float> m)Subtracts a second input vector from this vector under the control of a mask.FloatVector.sub(Vector<Float> v,VectorMask<Float> m)Subtracts a second input vector from this vector under the control of a mask.FloatVector.test(VectorOperators.Test op,VectorMask<Float> m)Test selected lanes of this vector, according to the given operation.abstractFloatVectorReverses aslice(), inserting the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical 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" input vector, which is regarded as one or the other input to a hypothetical 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" input vector, which is regarded as one or the other input to a hypothetical subsequentslice()operation.staticFloatVectorFloatVector.zero(VectorSpecies<Float> species)Returns a vector of the given species where all lane elements are set to zero, the default primitive value.