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