Java org.apache.commons.lang3.mutable MutableLong fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Constructor

MutableLong()
Constructs a new MutableLong with the default value of zero.
MutableLong(final long value)
Constructs a new MutableLong with the specified value.
MutableLong(final Number value)
Constructs a new MutableLong with the specified value.
MutableLong(final String value)
Constructs a new MutableLong parsing the given string.

Method

voidadd(final long operand)
Adds a value to the value of this instance.
voidadd(final Number operand)
Adds a value to the value of this instance.
voiddecrement()
Decrements the value.
LonggetValue()
Gets the value as a Long instance.
voidincrement()
Increments the value.
intintValue()
Returns the value of this MutableLong as an int.
longlongValue()
Returns the value of this MutableLong as a long.
voidsetValue(final long value)
Sets the value.
voidsetValue(final Number value)
Sets the value from any Number instance.
LongtoLong()
Gets this mutable as an instance of Long.