![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.nwdiag.next.NwArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.nwdiag.next;
public class NwArray {
// ::remove folder when __HAXE__
private final NServerDraw data[][];
public NwArray(int lines, int cols) {
this.data = new NServerDraw[lines][cols];
}
@Override
public String toString() {
return "lines=" + getNbLines() + " cols=" + getNbCols();
}
public int getNbLines() {
return data.length;
}
public int getNbCols() {
return data[0].length;
}
public NServerDraw get(int i, int j) {
return data[i][j];
}
public NServerDraw[] getLine(int i) {
return data[i];
}
public void set(int i, int j, NServerDraw value) {
data[i][j] = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy