void function ( ) { for ( K loc0 : map . keySet ( ) ) { AtomicLong loc1 = map . get ( loc0 ) ; if ( loc1 != null && loc1 . get ( ) == 0L ) { map . remove ( loc0 , loc1 ) ; } } }
removes all mappings from this map whose values are zero . this method is not atomic : the map may be visible in intermediate states , where some of the zero values have been removed and others have not . 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 long remove concode_elem_sep boolean remove concode_elem_sep int size 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