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 x, long in_min, long in_max, long out_min, long out_max)
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:237
size_t print(char c)
Prints a single character to output stream.
Definition: Print.h:107
Definition: Array.hpp:108