Code example for ArrayDeque

Methods: clear

0
    /** 
     * Empty buffer. 
     */ 
    public void flush() 
    { 
        remainEvents.clear(); 
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java