Package org.mariadb.jdbc.client.util
Class MutableInt
java.lang.Object
org.mariadb.jdbc.client.util.MutableInt
Mutable int
-
Field Details
-
value
private int value
-
-
Constructor Details
-
MutableInt
public MutableInt() -
MutableInt
public MutableInt(int value)
-
-
Method Details
-
set
public void set(int value) Set new sequence value- Parameters:
value
- new value
-
get
public int get()Get current sequence value- Returns:
- value
-
incrementAndGet
public int incrementAndGet()Increment sequence and get new value- Returns:
- new value
-