public class IntReference extends Object
| Constructor and Description |
|---|
IntReference()
Default constructor that sets integer to 0.
|
IntReference(int num)
Constructor that sets integer to given value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decrement()
Decrements internal integer.
|
boolean |
equals(int num)
Checks if internal integer equals to another int.
|
int |
get() |
void |
increment()
Increments internal integer.
|
void |
set(int num)
Sets internal integer to given value.
|
public IntReference()
public IntReference(int num)
num - is integer that will be stored.public int get()
public void increment()
public void decrement()
public void set(int num)
num - is value.public boolean equals(int num)
Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.