if key , value is currently in the map , this method removes it and returnstrue ; otherwise , this method returns false . concode_field_sep Map<K,Long> asMap concode_elem_sep ConcurrentHashMap<K,AtomicLong> map concode_field_sep long getAndIncrement concode_elem_sep long incrementAndGet concode_elem_sep Map<K,Long> createAsMap concode_elem_sep Map<K,Long> asMap concode_elem_sep boolean containsKey concode_elem_sep boolean isEmpty concode_elem_sep void clear concode_elem_sep boolean replace concode_elem_sep long decrementAndGet concode_elem_sep long sum concode_elem_sep long put concode_elem_sep int size concode_elem_sep void removeAllZeros concode_elem_sep long get concode_elem_sep void putAll concode_elem_sep AtomicLongMap<K> create concode_elem_sep AtomicLongMap<K> create concode_elem_sep long getAndAdd concode_elem_sep long addAndGet concode_elem_sep String toString concode_elem_sep long getAndDecrement concode_elem_sep long putIfAbsent
boolean function ( K arg0 , long arg1 ) { AtomicLong loc0 = map . get ( arg0 ) ; if ( loc0 == null ) { return false ; } long loc1 = loc0 . get ( ) ; if ( loc1 != arg1 ) { return false ; } if ( loc1 == 0L || loc0 . compareAndSet ( loc1 , 0L ) ) { map . remove ( arg0 , loc0 ) ; return true ; } return false ; }