velocity 遍历EventHandler Iterator

EventHandlerUtil  类的 iterateOverEventHandlers方法

for (Iterator i = handlerIterator; i.hasNext();)
{
EventHandler eventHandler = (EventHandler) i.next();

if (!eventExecutor.isDone())
{
eventExecutor.execute(eventHandler);
}
}
posted @ 2017-07-30 11:53  范世强  阅读(319)  评论(0编辑  收藏  举报