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(); 
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE