Code example for Deque

Methods: clear

0
	} 
 
	@Override 
	public void startRecord(final String identifier) {
		assert !isClosed(); 
		entityStack.clear();
		currentEntityPath = "";
		if (entityPath.length() != 0) {
			entityPath.delete(0, entityPath.length());
		} 
		getReceiver().startRecord(identifier);
	} 
 
	@Override 
	public void endRecord() { 
		assert !isClosed(); 
		currentEntityPath = "";
		getReceiver().endRecord(); 
 
	} 
Experience pair programming with AI  Get Codota for Java