
**Inheritance:**
java.lang.Object
```
public final class Int2D
```

Created by lexchou on 5/17/2017. 2-dimensional int array wrapper
## Constructors

| Constructor | Description |
| --- | --- |
| [Int2D(int rows, int columns)](#Int2D-int-int-) | Construct a 2D int array with default data allocation. |
| [Int2D(int rows, int columns, int[] data)](#Int2D-int-int-int---) | Construct a 2D int array with given data |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [get(int r, int c)](#get-int-int-) | Gets the element at specified position |
| [getClass()](#getClass--) |  |
| [getColumns()](#getColumns--) |  |
| [getLength(int rank)](#getLength-int-) |  |
| [getRows()](#getRows--) |  |
| [hashCode()](#hashCode--) |  |
| [length()](#length--) | Gets the total length of this 2d array |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [set(int r, int c, int v)](#set-int-int-int-) | Sets the element at specified position |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### Int2D(int rows, int columns) {#Int2D-int-int-}
```
public Int2D(int rows, int columns)
```


Construct a 2D int array with default data allocation.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| rows | int | Number of rows of the 2D array |
| columns | int | Number of columns of the 2D array |

### Int2D(int rows, int columns, int[] data) {#Int2D-int-int-int---}
```
public Int2D(int rows, int columns, int[] data)
```


Construct a 2D int array with given data

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| rows | int | Number of rows of the 2D array |
| columns | int | Number of columns of the 2D array |
| data | int[] | Array to wrap, Float2D will use this array internally. |

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### get(int r, int c) {#get-int-int-}
```
public int get(int r, int c)
```


Gets the element at specified position

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| r | int | Row |
| c | int | Column |

**Returns:**
int - the value at specified position
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getColumns() {#getColumns--}
```
public int getColumns()
```




**Returns:**
int
### getLength(int rank) {#getLength-int-}
```
public int getLength(int rank)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| rank | int |  |

**Returns:**
int
### getRows() {#getRows--}
```
public int getRows()
```




**Returns:**
int
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### length() {#length--}
```
public int length()
```


Gets the total length of this 2d array

**Returns:**
int - the total number of floats in this 2d array.
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### set(int r, int c, int v) {#set-int-int-int-}
```
public void set(int r, int c, int v)
```


Sets the element at specified position

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| r | int | Row |
| c | int | Column |
| v | int | Value |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

