toString

open override fun toString(): String

Return

string representation using "X" for set and " " for unset bits


fun toString(setString: String, unsetString: String): String

Return

string representation of entire matrix utilizing given strings

Parameters

setString

representation of a set bit

unsetString

representation of an unset bit


fun toString(setString: String, unsetString: String, lineSeparator: String): String

Deprecated

call {@link #toString(String, String)} only, which uses line separator always

Return

string representation of entire matrix utilizing given strings and line separator

Parameters

setString

representation of a set bit

unsetString

representation of an unset bit

lineSeparator

newline character in string representation