MatrixDictionary

Inheritance: java.lang.Object

public class MatrixDictionary<TData>

Dictionary with 2 keys

TData : Type of a value

Constructors

Constructor Description
MatrixDictionary()

Methods

Method Description
containsKey(int keyA, int keyB) Determines whether the MatrixDictionary contains the specified complex key.
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
setValue(int keyA, int keyB, TData value) Set value.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

MatrixDictionary()

public MatrixDictionary()

containsKey(int keyA, int keyB)

public boolean containsKey(int keyA, int keyB)

Determines whether the MatrixDictionary contains the specified complex key.

Parameters:

Parameter Type Description
keyA int The KeyA to locate in MatrixDictionary
keyB int The KeyB to locate in MatrixDictionary

Returns: boolean - true if the MatrixDictionary contains an element with the specified key; otherwise, false.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setValue(int keyA, int keyB, TData value)

public void setValue(int keyA, int keyB, TData value)

Set value. The exception is not thrown if value is exist.

Parameters:

Parameter Type Description
keyA int
keyB int
value TData

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int