Code example for Stack

Methods: pop

0
	private TagMarker popTag(SpannableStringBuilder text, String ltag) {
		if (!mStyleStack.containsKey(ltag)) {
			Util.e("Found an unmatched closing tag " + ltag + "!");
			return null; 
		} 
		return mStyleStack.get(ltag).pop();
	} 
 
	private static final HashMap<String, Boolean> SIMPLE_TAGS = buildSimpleTags();
	private static final HashMap<String, Boolean> IGNORED_TAGS = buildIgnoredTags();
 
	public HtmlToSpannedConverter(String source, Html.ImageGetter imageGetter, Parser parser) {
		mSource = source;
		mSB = new SpannableStringBuilder();
		mImageGetter = imageGetter;
		mReader = parser;
	} 
 
	private static HashMap<String, Boolean> buildSimpleTags() {
		HashMap<String, Boolean> map = new HashMap<String, Boolean>();
		map.put("span", true);