Code example for Stack

Methods: popisEmpty

0
		return this.schemaLocations.get(doc);
	} 
 
	/** Removes the first document from the stack */ 
	public Document popDocument() {
		if (!documents.isEmpty()) {
			return documents.pop();
		} 
		return null; 
	} 
	 
	/** Removes the first element from the stack */ 
	public Node popElement() {
		if (!elements.isEmpty()) {
			return elements.pop();
		} 
		return null; 
	} 
	 
	/** 
Stop searching for code, let great code find you!  Add Codota to your java IDE