Code example for AtomicDouble

Methods: set

0
 
    /** 
     * Set the current value. 
     */ 
    public void set(Double n) {
        number.set(n);
    } 
 
    /** 
     * Returns a reference to the {@link com.google.common.util.concurrent.AtomicDouble}. 
     */ 
    public AtomicDouble getNumber() {
        return number;
    } 
 
    /** 
     * {@inheritDoc} 
     */ 
    @Override 
    public boolean equals(Object o) { 
Experience pair programming with AI  Get Codota for Java