Java org.apache.commons.lang.mutable MutableDouble fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.lang.mutable MutableDouble fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.lang.mutable MutableDouble.

The text is from its open source code.

Subclass

org.apache.commons.lang.mutable.MutableDouble has subclasses.
Click this link to see all its subclasses.

Constructor

MutableDouble(double value)
Constructs a new MutableDouble with the specified value.
MutableDouble(Number value)
Constructs a new MutableDouble with the specified value.
MutableDouble()
Constructs a new MutableDouble with the default value of zero.

Method

voidadd(double operand)
Adds a value.
voidadd(Number operand)
Adds a value.
doubledoubleValue()
Returns the value of this MutableDouble as a double.
booleanequals(Object obj)
Compares this object against the specified object.
floatfloatValue()
Returns the value of this MutableDouble as a float.
ObjectgetValue()
Gets the value as a Double instance.
voidincrement()
Increments the value.
intintValue()
Returns the value of this MutableDouble as a int.
longlongValue()
Returns the value of this MutableDouble as a long.
voidsetValue(double value)
Sets the value.
voidsetValue(Object value)
Sets the value from any Number instance.
shortshortValue()
Returns the value of the specified number as a short .