public void distributeAndUpdateMapObjectsInIntervalSet(){
  for (  InternalMapObject mapObject : mapObjects) {
    for (    Interval interval : intervalSet.getIntervals()) {
      if (mapObject.getValue() >= interval.getValueLow() && mapObject.getValue() <= interval.getValueHigh()) {
        interval.addMember(mapObject);
        mapObject.setInterval(interval);
        break;
      }
    }
  }
}

public void distributeAndUpdateMapObjectsInIntervalSet ( ) { for ( InternalMapObject mapObject : mapObjects ) { for ( Interval interval : intervalSet . getIntervals ( ) ) { if ( mapObject . getValue ( ) >= interval . getValueLow ( ) && mapObject . getValue ( ) <= interval . getValueHigh ( ) ) { interval . addMember ( mapObject ) ; mapObject . setInterval ( interval ) ; break ; } } } }
distribute this map layer ' s map objects into the given interval set and update each map object with its interval .
