Code example for Stack

Methods: peek, size

0
this.updateHidden();
	} 
 
	private void updateHidden() { 
		if(this.mSVGGroupStack.size() == 0) {
			this.mHidden = false;
		} else { 
			this.mSVGGroupStack.peek().isHidden();
		} 
	} 
 
	private void parsePath(final Attributes pAttributes) {
		final SVGProperties svgProperties = this.getSVGPropertiesFromAttributes(pAttributes);
		final boolean pushed = this.pushTransform(pAttributes);
		this.mSVGPathParser.parse(svgProperties, this.mCanvas, this.mSVGPaint);
		if(pushed) {
			this.popTransform();
		} 
	}