All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nasa.pds.citool.util.DebugUtils Maven / Gradle / Ivy

Go to download

The Legacy Catalog Tool provides functionality for ingesting PDS3 catalog files into the PDS4 infrastructure including the Registry Service.

There is a newer version: 3.1.0
Show newest version
package gov.nasa.pds.citool.util;

import java.util.List;
import java.util.Map;

public class DebugUtils 
{
	public static void printRefs(Map> refs)
	{
		if(refs == null) 
		{
			System.out.println("Refs i snull.");
			return;
		}
		
		for(Map.Entry> item: refs.entrySet())
		{
			String key = item.getKey();
			System.out.println(key);
			
			List vals = item.getValue();
			for(String val: vals)
			{
				System.out.println("    " + val);
			}
		}
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy