Int2D

Inheritance: java.lang.Object

public final class Int2D

lexchou द्वारा 5/17/2017 को बनाया गया। 2-आयामी int एरे रैपर

कंस्ट्रक्टर

कंस्ट्रक्टरविवरण
Int2D(int rows, int columns)डिफ़ॉल्ट डेटा आवंटन के साथ 2D int एरे बनाएं।
Int2D(int rows, int columns, int[] data)दिए गए डेटा के साथ 2D int एरे बनाएं

विधियाँ

विधिविवरण
equals(Object arg0)
get(int r, int c)निर्दिष्ट स्थिति पर तत्व प्राप्त करता है
getClass()
getColumns()
getLength(int rank)
getRows()
hashCode()
length()इस 2D ऐरे की कुल लंबाई प्राप्त करता है
notify()
notifyAll()
set(int r, int c, int v)निर्दिष्ट स्थिति पर तत्व सेट करता है
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Int2D(int rows, int columns)

public Int2D(int rows, int columns)

डिफ़ॉल्ट डेटा आवंटन के साथ 2D int एरे बनाएं।

Parameters:

पैरामीटरप्रकारविवरण
पंक्तियाँint2D ऐरे की पंक्तियों की संख्या
स्तंभint2D ऐरे के स्तंभों की संख्या

Int2D(int rows, int columns, int[] data)

public Int2D(int rows, int columns, int[] data)

दिए गए डेटा के साथ 2D int एरे बनाएं

Parameters:

पैरामीटरप्रकारविवरण
पंक्तियाँint2D ऐरे की पंक्तियों की संख्या
स्तंभint2D ऐरे के स्तंभों की संख्या
डेटाint[]रैप करने के लिए ऐरे, Float2D इस ऐरे का आंतरिक रूप से उपयोग करेगा।

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

पैरामीटरप्रकारविवरण
arg0java.lang.Object

Returns: boolean

get(int r, int c)

public int get(int r, int c)

निर्दिष्ट स्थिति पर तत्व प्राप्त करता है

Parameters:

पैरामीटरप्रकारविवरण
rintपंक्ति
cintस्तंभ

Returns: int - निर्दिष्ट स्थिति पर मान

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:

पैरामीटरप्रकारविवरण
रैंकint

Returns: int

getRows()

public int getRows()

Returns: int

hashCode()

public native int hashCode()

Returns: int

length()

public int length()

इस 2D ऐरे की कुल लंबाई प्राप्त करता है

Returns: int - इस 2D ऐरे में कुल फ्लोट्स की संख्या।

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)

निर्दिष्ट स्थिति पर तत्व सेट करता है

Parameters:

पैरामीटरप्रकारविवरण
rintपंक्ति
cintस्तंभ
vintमान

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

पैरामीटरप्रकारविवरण
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

पैरामीटरप्रकारविवरण
arg0long
arg1int