42 for(
unsigned i = 0; i < map.length(); ++i) {
43 count += p.
print(
" ");
44 count += map.valueAt(i).printTo(p);
47 count += p.
print(
"}");
MapPrinter(const MapType &map)
Definition: MapPrinter.hpp:33
size_t print(char c)
Prints a single character to output stream.
Definition: Print.h:93
size_t printTo(Print &p) const override
Definition: MapPrinter.hpp:37
size_t println()
Prints a newline to output stream.
Definition: Print.h:179
Provides formatted output to stream.
Definition: Print.h:36
Definition: Printable.h:42
Class template to provide a simple way to print the contents of a Map.
Definition: MapPrinter.hpp:30
Definition: Array.hpp:107