public static ArrayList<String> listPackageContents(Map<String, Object> m) {
        ArrayList<String> acc = new ArrayList<String>();
        for (Map.Entry<String, Object> entry : m.entrySet()) {
            if (isValidPackageContent(entry.getValue())) {
                acc.add(entry.getKey());
            }
        }
        return acc;
    }
public static ArrayList < String > listPackageContents ( Map < String , Object > m ) { ArrayList < String > acc = new ArrayList < String > ( ) ; for ( Map . Entry < String , Object > entry : m . entrySet ( ) ) { if ( isValidPackageContent ( entry . getValue ( ) ) ) { acc . add ( entry . getKey ( ) ) ; } } return acc ; }
Returns a list of package contents (for Data Packages).