class AtomicDouble extends Number {

    public double getAndSet(double amount) {
        long v = value.getAndSet(Double.doubleToLongBits(amount));
        return Double.longBitsToDouble(v);
    }

    public  AtomicDouble();
    public  AtomicDouble(double init);

}