Code example for ArrayDeque

Methods: remove

0
	 * Retrieves and remove the first key 
	 *  
	 * @return the first key 
	 */ 
	public K removeKey() { 
		K key = this.keys.remove();
		//assert key != null; 
		return key;
	} 
 
	/** 
	 * Retrieves and remove the first list of values 
	 *  
	 * @return the first key 
	 */ 
	public ArrayList<V> removeValues() {
		ArrayList<V> values = this.values.remove();
 
		//assert values != null; 
		return values;
Contextual code suggestions in your IDE  Get Codota for Java