Code example for ArrayDeque

Methods: iterator

0
     * Ctor. 
     * @param window is the time-slotted collection 
     */ 
    public TimeWindowIterator(ArrayDeque<TimeWindowPair> window) 
    { 
        super(window.iterator()); 
        init(); 
    } 
 
    protected Object getValue(Object iteratorKeyValue) { 
        return ((TimeWindowPair) iteratorKeyValue).getEventHolder(); 
    } 
}