Class AbstractReport.MutableLong
java.lang.Object
java.lang.Number
com.atlassian.jira.plugin.report.impl.AbstractReport.MutableLong
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AbstractReport
This utility class is much like an AtomicLong, but it does not have the
thread-safety guarantees and overhead of that class.
- See Also:
-
Constructor Details
-
MutableLong
public MutableLong(long initialValue)
-
-
Method Details
-
incrementAndGet
public long incrementAndGet() -
getAndIncrement
public long getAndIncrement() -
add
public long add(long adjustment) -
setValue
public void setValue(long newValue) -
intValue
public int intValue() -
longValue
public long longValue() -
floatValue
public float floatValue()- Specified by:
floatValue
in classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValue
in classNumber
-
equals
-
hashCode
public int hashCode() -
toString
-