code: protected static Iterator getAlarms(Object key)
      {
          synchronized (pendingAlarms)
          {
              if (pendingAlarms.containsKey(key))
                  return ((Set) pendingAlarms.get(key)).iterator();
  
              return new GTSIterator();
          }
      }
docs: Utility method for getting the list of all alarms associated with
  a particular key. Returns an empty Iterator if the given key
  has no alarms.
  
  @param key The key for the set of alarms to return.
  @return An enumeration of all alarms associated with the given
  key (may be empty).