Skip to content

Instantly share code, notes, and snippets.

@seyedsahil
Created December 4, 2020 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seyedsahil/89ff1693cf4a82e6cb43c6c3988e53d4 to your computer and use it in GitHub Desktop.
Save seyedsahil/89ff1693cf4a82e6cb43c6c3988e53d4 to your computer and use it in GitHub Desktop.
Demo file created for tutorial
package org.sydlabz.demo;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
public class Console {
public static void showData(List<LinkedHashMap<?, ?>> data) {
for (Map<?, ?> record : data) {
System.out.println(record);
for (Object key : record.keySet()) {
System.out.println("\t" + key.getClass().getName() + " - " + record.get(key).getClass().getName());
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment