Code example for Deque

Methods: clear

0
	@Override 
	public void execute(final Deque<String> stack, final double x) throws InvalidFormatPSFunctionException {
		if(stack==null)
			throw new InvalidFormatPSFunctionException(); 
 
		stack.clear();
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE