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
-
longValue
-
floatValue
public float floatValue()- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber
-
equals
-
hashCode
-
toString
-