DataMatrixMatrix.java
673 Bytes
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa.pmp.datamatrixpmp;
class DataMatrixMatrix {
private int m_cols;
private int m_rows;
private int[] m_matrix;
DataMatrixMatrix() {
}
void create(int cols, int rows) {
this.m_matrix = new int[cols * rows];
this.m_cols = cols;
this.m_rows = rows;
}
void set(int col, int row, int value) {
this.m_matrix[row * this.m_rows + col] = value;
}
int get(int col, int row) {
return this.m_matrix[row * this.m_rows + col];
}
int getCols() {
return this.m_cols;
}
int getRows() {
return this.m_rows;
}
}