serializes the history state to a json object using the format described in loadjson . concode_field_sep String pushId concode_elem_sep int maxHistoryLength concode_elem_sep String lastTime concode_elem_sep String TAG concode_elem_sep PriorityQueue<Entry> entries concode_elem_sep HashSet<String> pushIds concode_elem_sep String timestamp concode_field_sep boolean tryInsertPush concode_elem_sep String getLastReceivedTimestamp concode_elem_sep int compareTo concode_elem_sep void setLastReceivedTimestamp
JSONObject function ( ) { JSONObject loc0 = new JSONObject ( ) ; if ( entries . size ( ) > 0 ) { JSONObject loc1 = new JSONObject ( ) ; for ( Entry loc2 : entries ) { loc1 . put ( loc2 . pushId , loc2 . timestamp ) ; } loc0 . put ( "srini_string" , loc1 ) ; } loc0 . putOpt ( "srini_string" , lastTime ) ; return loc0 ; }