
**Inheritance:**
java.lang.Object
```
public class RefInt
```

Represents Out/Ref constructions for Integer primitive type
## Constructors

| Constructor | Description |
| --- | --- |
| [RefInt(int value)](#RefInt-int) | Mimics Out/Ref parameter initialisation with given Value. |
| [RefInt(long value)](#RefInt-long) | Mimics Out/Ref parameter initialisation with given Value. |
## Methods

| Method | Description |
| --- | --- |
| [get()](#get) | Gets Out/Ref parameter Value Should be used after calling the method with Out/Ref constructions |
| [set(int anotherValue)](#set-int) | Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions |
| [set(long anotherValue)](#set-long) | Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions |
| [toString()](#toString) |  |
### RefInt(int value) {#RefInt-int}
```
public RefInt(int value)
```


Mimics Out/Ref parameter initialisation with given Value. Should be used before calling the method with Out/Ref constructions

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### RefInt(long value) {#RefInt-long}
```
public RefInt(long value)
```


Mimics Out/Ref parameter initialisation with given Value. Should be used before calling the method with Out/Ref constructions

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | long |  |

### get() {#get}
```
public int get()
```


Gets Out/Ref parameter Value Should be used after calling the method with Out/Ref constructions

**Returns:**
int
### set(int anotherValue) {#set-int}
```
public int set(int anotherValue)
```


Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| anotherValue | int |  |

**Returns:**
int
### set(long anotherValue) {#set-long}
```
public int set(long anotherValue)
```


Sets Out/Ref parameter Value Should be used inside the method with Out/Ref constructions

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| anotherValue | long |  |

**Returns:**
int
### toString() {#toString}
```
public String toString()
```




**Returns:**
java.lang.String
