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 and 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 thanWEIGHT_BOLD
.static Float
TextAttribute. WEIGHT_DEMILIGHT
An intermediate weight betweenWEIGHT_LIGHT
andWEIGHT_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 thanWEIGHT_BOLD
.static Float
TextAttribute. WEIGHT_LIGHT
The standard light weight.static Float
TextAttribute. WEIGHT_MEDIUM
An intermediate weight betweenWEIGHT_REGULAR
andWEIGHT_BOLD
.static Float
TextAttribute. WEIGHT_REGULAR
The standard weight.static Float
TextAttribute. WEIGHT_SEMIBOLD
A moderately heavier weight thanWEIGHT_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 and Description static Class<Float>
Float. TYPE
TheClass
instance representing the primitive typefloat
.Methods in java.lang that return Float Modifier and Type Method and Description static Float
Float. valueOf(float f)
Returns aFloat
instance representing the specifiedfloat
value.static Float
Float. valueOf(String s)
Returns aFloat
object holding thefloat
value represented by the argument strings
.Methods in java.lang with parameters of type Float Modifier and Type Method and Description int
Float. compareTo(Float anotherFloat)
Compares twoFloat
objects numerically. -
Uses of Float in javax.management.openmbean
Fields in javax.management.openmbean with type parameters of type Float Modifier and Type Field and Description static SimpleType<Float>
SimpleType. FLOAT
TheSimpleType
instance describing values whose Java class name isjava.lang.Float
.
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.