PlacementTable

Inheritance: java.lang.Object

public class PlacementTable

The class for placing modules in the matrix

Constructors

Constructor Description
PlacementTable()

Methods

Method Description
bytesToMatrix(List bytes) Using the Data Module Placement Grid for this matrix size, the data modules are placed into the binary matrix data area.
equals(Object arg0)
getClass()
hashCode()
matrixToBytes(byte[][] matrix) Returns unprotected bit stream with prefix and trailer(postfix)
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PlacementTable()

public PlacementTable()

bytesToMatrix(List bytes)

public static byte[][] bytesToMatrix(List<Byte> bytes)

Using the Data Module Placement Grid for this matrix size, the data modules are placed into the binary matrix data area.

Parameters:

Parameter Type Description
bytes java.util.List<java.lang.Byte> input bytes

Returns: byte[][] - binary matrix

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

matrixToBytes(byte[][] matrix)

public static List<Byte> matrixToBytes(byte[][] matrix)

Returns unprotected bit stream with prefix and trailer(postfix)

Parameters:

Parameter Type Description
matrix byte[][] input matrix

Returns: List - Unprotected bit stream with prefix and trailer(postfix)

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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