public long removeAllOccurrences(final Object e) {
        final MutableLong count = valueMap.remove(e);

        return count == null ? 0 : count.value();
    }
public long removeAllOccurrences ( final Object e ) { final MutableLong count = valueMap . remove ( e ) ; return count == null ? 0 : count . value ( ) ; }
@param e
@return the occurrences of the specified element before it's removed.