All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.plantuml.nwdiag.next.NwArray Maven / Gradle / Ivy

There is a newer version: 1.2025.0
Show newest version
// 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