class JSONUtils {

    @SuppressWarnings("unchecked")
    public static void putAllLongs(Map<String,Long> targetMap, JSONObject sourceJson) throws JSONException {<FILL_FUNCTION_BODY>}

    @SuppressWarnings("unchecked")
    public static void putAllAtomicLongs(Map<String,AtomicLong> targetMap, JSONObject sourceJson) throws JSONException {
        for(String k : new Iteratorable<String>(sourceJson.keys())) {
            targetMap.put(k, new AtomicLong(sourceJson.getLong(k)));
        }
    }
}

        for(String k : new Iteratorable<String>(sourceJson.keys())) {
            targetMap.put(k, sourceJson.getLong(k));
        }
    
<no_super_class>