# Uses of Class
java.lang.Float

Packages that use Float
Package | Description
--- | ---
java.awt.font | Provides classes and interface relating to fonts.
java.lang | Provides classes that are fundamental to the design of the Java programming language.
javax.management.openmbean | Provides the open data types and Open MBean descriptor classes.

## Uses of Float in java.awt.font

Fields in java.awt.font declared as Float
Modifier and Type | Field | Description
--- | --- | ---
`static Float` | TextAttribute.`JUSTIFICATION_FULL` | Justify the line to the full requested width.
`static Float` | TextAttribute.`JUSTIFICATION_NONE` | Do not allow the line to be justified.
`static Float` | TextAttribute.`POSTURE_OBLIQUE` | The standard italic posture.
`static Float` | TextAttribute.`POSTURE_REGULAR` | The standard posture, upright.
`static Float` | TextAttribute.`TRACKING_LOOSE` | Perform loose tracking.
`static Float` | TextAttribute.`TRACKING_TIGHT` | Perform tight tracking.
`static Float` | TextAttribute.`WEIGHT_BOLD` | The standard bold weight.
`static Float` | TextAttribute.`WEIGHT_DEMIBOLD` | A moderately lighter weight than `WEIGHT_BOLD`.
`static Float` | TextAttribute.`WEIGHT_DEMILIGHT` | An intermediate weight between `WEIGHT_LIGHT` and `WEIGHT_STANDARD`.
`static Float` | TextAttribute.`WEIGHT_EXTRA_LIGHT` | The lightest predefined weight.
`static Float` | TextAttribute.`WEIGHT_EXTRABOLD` | An extra heavy weight.
`static Float` | TextAttribute.`WEIGHT_HEAVY` | A moderately heavier weight than `WEIGHT_BOLD`.
`static Float` | TextAttribute.`WEIGHT_LIGHT` | The standard light weight.
`static Float` | TextAttribute.`WEIGHT_MEDIUM` | An intermediate weight between `WEIGHT_REGULAR` and `WEIGHT_BOLD`.
`static Float` | TextAttribute.`WEIGHT_REGULAR` | The standard weight.
`static Float` | TextAttribute.`WEIGHT_SEMIBOLD` | A moderately heavier weight than `WEIGHT_REGULAR`.
`static Float` | TextAttribute.`WEIGHT_ULTRABOLD` | The heaviest predefined weight.
`static Float` | TextAttribute.`WIDTH_CONDENSED` | The most condensed predefined width.
`static Float` | TextAttribute.`WIDTH_EXTENDED` | The most extended predefined width.
`static Float` | TextAttribute.`WIDTH_REGULAR` | The standard width.
`static Float` | TextAttribute.`WIDTH_SEMI_CONDENSED` | A moderately condensed width.
`static Float` | TextAttribute.`WIDTH_SEMI_EXTENDED` | A moderately extended width.

## Uses of Float in java.lang

Fields in java.lang with type parameters of type Float
Modifier and Type | Field | Description
--- | --- | ---
`static Class<Float>` | Float.`TYPE` | The `Class` instance representing the primitive type `float`.

Methods in java.lang that return Float
Modifier and Type | Method | Description
--- | --- | ---
`Float` | Float.`resolveConstantDesc​(MethodHandles.Lookup lookup)` | Resolves this instance as a `ConstantDesc`, the result of which is the instance itself.
`static Float` | Float.`valueOf​(float f)` | Returns a `Float` instance representing the specified `float` value.
`static Float` | Float.`valueOf​(String s)` | Returns a `Float` object holding the `float` value represented by the argument string `s`.

Methods in java.lang that return types with arguments of type Float
Modifier and Type | Method | Description
--- | --- | ---
`Optional<Float>` | Float.`describeConstable()` | Returns an `Optional` containing the nominal descriptor for this instance, which is the instance itself.

Methods in java.lang with parameters of type Float
Modifier and Type | Method | Description
--- | --- | ---
`int` | Float.`compareTo​(Float anotherFloat)` | Compares two `Float` objects numerically.

## Uses of Float in javax.management.openmbean

Fields in javax.management.openmbean with type parameters of type Float
Modifier and Type | Field | Description
--- | --- | ---
`static SimpleType<Float>` | SimpleType.`FLOAT` | The `SimpleType` instance describing values whose Java class name is `java.lang.Float`.