Float JDK 1.0

java.lang serializable comparable

Synopsis^  ?
public final class Float extends Number implements Comparable {
// Public Constructors
    public Float( String s) throws NumberFormatException;  
    public Float( float value);  
    public Float( double value);  
// Public Constants
    public final static float MAX_VALUE; =3.4028235E38 
    public final static float MIN_VALUE; =1.4E-45 
    public final static float NaN; =NaN 
    public final static float NEGATIVE_INFINITY; =-Infinity 
    public final static float POSITIVE_INFINITY; =Infinity 
1.1 public final static Class TYPE; 
// Public Class Methods
    public static int floatToIntBits( float value); native 
    public static float intBitsToFloat( int bits); native 
    public static boolean isInfinite( float v);  
    public static boolean isNaN( float v);  
2.0 public static float parseFloat( String s) throws NumberFormatException;  
    public static String toString( float f);  
    public static Float valueOf( String s) throws NumberFormatException;  
// Property Accessor Methods (by property name)
    public boolean isInfinite( );  
    public boolean isNaN( );  
// Public Instance Methods
2.0 public int compareTo( Float anotherFloat);  
// Methods implementing Comparable
2.0 public int compareTo( Object o);  
// Public methods overriding Number
1.1 public byte byteValue( );  
    public double doubleValue( );  
    public float floatValue( );  
    public int intValue( );  
    public long longValue( );  
1.1 public short shortValue( );  
// Public methods overriding Object
    public boolean equals( Object obj);  
    public int hashCode( );  
    public String toString( );  
}

Hierarchy^  ?

[Object]
   |
[Number]---<Serializable>
   |
[Float]---<Comparable>

JavaBeans Properties^  ?

  Name    Type    Access    Default    Flags  
  infinite    boolean    is     read-only   
  naN    boolean    is     read-only   

Inherited Properties^  ?
Number: none
Object: class

Inherited Methods^  ?
Number: none
Object: clone(), finalize(), notify(), notifyAll(), wait(), wait(), wait()

Passed To^  ?
Float.compareTo()

Returned By^  ?
Float.valueOf()

Uses^  ?
Class, Comparable, Number, NumberFormatException, Object, String

Used By^  ?
Math, String


Java Power Reference. Created by David Flanagan.
Copyright © 1999 O'Reilly & Associates.All Rights Reserved.

This file may not be distributed on the Internet.