langtools/test/tools/javac/synthesize/Float.java
author jjg
Fri, 01 Aug 2008 15:23:18 -0700
changeset 1037 c6b315a34dc6
permissions -rw-r--r--
6627362: javac generates code that uses array.clone, which is not available on JavaCard 6627364: javac needs Float and Double on the bootclasspath even when not directly used 6627366: javac needs Cloneable and Serializable on the classpath even when not directly used Reviewed-by: darcy

package java.lang;

public class Float extends Number
{
    public static Float valueOf(float v) {
        return new Float(v);
    }

    public Float(float v) {
        value = v;
    }

    public float floatValue() {
        return value;
    }

    private float value;
}