Java tutorial
//package com.java2s; //License from project: Apache License import android.util.*; import java.util.*; public class Main { public static void printMap(Map<?, ?> m) { StringBuilder sb = new StringBuilder(); for (Entry<?, ?> entry : m.entrySet()) { sb.append(entry.getKey()).append(": ").append(entry.getValue()).append("\r\n"); } Log.d("print", sb.toString()); } }