1. 程式人生 > >velocity 遍歷EventHandler Iterator

velocity 遍歷EventHandler Iterator

next oci iterator () over nth exec eve asn

EventHandlerUtil  類的 iterateOverEventHandlers方法

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

if (!eventExecutor.isDone())
{
eventExecutor.execute(eventHandler);
}
}

velocity 遍歷EventHandler Iterator