Package org.hibernate.internal.util
Class MutableLong
java.lang.Object
org.hibernate.internal.util.MutableLong
A more performant version of
AtomicLong
in cases
where we do not have to worry about concurrency. So usually as a variable referenced in
anonymous-inner or lambda or ...-
Constructor Details
-
MutableLong
public MutableLong() -
MutableLong
public MutableLong(long value)
-
-
Method Details
-
deepCopy
-
getAndIncrement
public long getAndIncrement() -
incrementAndGet
public long incrementAndGet() -
get
public long get() -
set
public void set(long value) -
increase
public void increase()
-