code: public void setFloatValueInMap( WritableRandomIter map, float value ) {
          if (map == null) {
              return;
          }
          try {
              map.setSample(col, row, 0, value);
          } catch (Exception e) {
              e.printStackTrace();
          }
      }
docs: Utility method to set the value of a certain map in the current node position.
  
  @param map the map to set the value in. if <code>null</code>, it is ignored.
  @param value the value to set.