code: public List<Notification> getBySource(Object source) {
          List<Notification> found = new ArrayList<Notification>();
          for (Notification n: NotificationManager.notifications)
              if (n.getSource().equals(source)) {
                  logger.fine("...found a match for getBySource query. With source: "+source);
                  found.add(n);
              }
          if(found.size()>0)        
              return found;
          return null;
      }
docs: Search for notifications originated from the given source object.
  
  @param source
  the object of the simulation that generates the notifications
  @return