Int2D
İçindekiler
[
Saklamak
]Inheritance: java.lang.Object
public final class Int2D
lexchou tarafından 5/17/2017 tarihinde oluşturuldu. 2 boyutlu int dizi sarmalayıcısı
Yapıcılar
| Yapıcı | Açıklama |
|---|---|
| Int2D(int rows, int columns) | Varsayılan veri tahsisiyle bir 2D int dizisi oluştur. |
| Int2D(int rows, int columns, int[] data) | Verilen veriyle bir 2D int dizisi oluştur. |
Yöntemler
| Yöntem | Açıklama |
|---|---|
| equals(Object arg0) | |
| get(int r, int c) | Belirtilen konumdaki öğeyi alır |
| getClass() | |
| getColumns() | |
| getLength(int rank) | |
| getRows() | |
| hashCode() | |
| length() | Bu 2D dizinin toplam uzunluğunu alır |
| notify() | |
| notifyAll() | |
| set(int r, int c, int v) | Belirtilen konumdaki öğeyi ayarlar |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
Int2D(int rows, int columns)
public Int2D(int rows, int columns)
Varsayılan veri tahsisiyle bir 2D int dizisi oluştur.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| satırlar | int | 2D dizinin satır sayısı |
| sütunlar | int | 2D dizinin sütun sayısı |
Int2D(int rows, int columns, int[] data)
public Int2D(int rows, int columns, int[] data)
Verilen veriyle bir 2D int dizisi oluştur.
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| satırlar | int | 2D dizinin satır sayısı |
| sütunlar | int | 2D dizinin sütun sayısı |
| veri | int[] | Sarılan dizi, Float2D bu diziyi dahili olarak kullanacaktır. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
get(int r, int c)
public int get(int r, int c)
Belirtilen konumdaki öğeyi alır
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| r | int | Satır |
| c | int | Sütun |
Returns: int - belirtilen konumdaki değer
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColumns()
public int getColumns()
Returns: int
getLength(int rank)
public int getLength(int rank)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| derece | int |
Returns: int
getRows()
public int getRows()
Returns: int
hashCode()
public native int hashCode()
Returns: int
length()
public int length()
Bu 2D dizinin toplam uzunluğunu alır
Returns: int - bu 2D dizideki toplam float sayısı.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
set(int r, int c, int v)
public void set(int r, int c, int v)
Belirtilen konumdaki öğeyi ayarlar
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| r | int | Satır |
| c | int | Sütun |
| v | int | Değer |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametre | Tür | Açıklama |
|---|---|---|
| arg0 | long | |
| arg1 | int |