public interface Array2D_To_String<T> extends IsTransformer<T[][],String>
Transforms a 2-dimensional array into a string representation in table form, for examples for debug output.
The returned string will start with the array coordinates, followed by a : and the column content.
| Modifier and Type | Method and Description |
|---|---|
static <T> Array2D_To_String<T> |
create()
Creates a new transformer.
|
default String |
transform(T[][] ar)
Transforms from one representation to another.
|
apply, transformdefault String transform(T[][] ar)
TransformerTransforms from one representation to another.
transform in interface Transformer<T[][],String>ar - input representationstatic <T> Array2D_To_String<T> create()
Creates a new transformer.
T - type of the arrayCopyright © 2016–2017. All rights reserved.