Succinct description of the shape meant for debugging.
()
| 97 | |
| 98 | /** Succinct description of the shape meant for debugging. */ |
| 99 | @Override |
| 100 | public String toString() { |
| 101 | if (shape == null) { |
| 102 | return "<unknown>"; |
| 103 | } |
| 104 | return Arrays.toString(shape).replace("-1", "?"); |
| 105 | } |
| 106 | |
| 107 | // Package-private constructor. |
| 108 | Shape(long[] shape) { |