Is there an efficient way to set all values in a Trove map to zero?
===

Is there an efficient way to set all values in a Trove map to zero?

Right now I am doing this:

        public static class NcZeroD implements TDoubleProcedure{
    		public TDoubleDoubleHashMap map;
    		
    		@Override
    		public boolean execute(double k) {
    			map.put(k, 0);
    			return true;
    		}	
    	}
        
        static NcZeroD ncZeroD=new NcZeroD();	
    
    	public static void zero(TDoubleDoubleHashMap map){
    		ncZeroD.map=map;
    		map.forEachKey(ncZeroD);
    	}

but it seems sort of messy.