Code example for Stack

Methods: firstElement, size

0
		this.dump(false);
	} 
 
	public void dump(final boolean pClear) {
		final long now = System.currentTimeMillis();
		if(this.mDebugTimes.size() > 1) {
			Debug.w(this.getClass().getSimpleName() + " not all ended!");
		} 
 
		final DebugTime root = this.mDebugTimes.firstElement();
		root.end(now);
		root.dump(0);
 
		if(pClear) {
			this.clear();
		} 
	} 
 
	public void clear() { 
		final DebugTime root = this.mDebugTimes.firstElement();
		this.mDebugTimes.clear();
		this.init(root.mLabel);
	} 
 
	// ===========================================================