Class AbstractReport.MutableLong

java.lang.Object
java.lang.Number
com.atlassian.jira.plugin.report.impl.AbstractReport.MutableLong
All Implemented Interfaces:
Serializable
Enclosing class:
AbstractReport

public static class AbstractReport.MutableLong extends Number
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()
      Specified by:
      intValue in class Number
    • longValue

      public long longValue()
      Specified by:
      longValue in class Number
    • floatValue

      public float floatValue()
      Specified by:
      floatValue in class Number
    • doubleValue

      public double doubleValue()
      Specified by:
      doubleValue in class Number
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object