Code example for ArrayDeque

Methods: clear

0
    /** 
     * Empty buffer. 
     */ 
    public void flush() 
    { 
        remainEvents.clear(); 
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java