Code examples for Stack

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
22:	currentStack.set(new Stack<TagContext>()); 
Full Snippet Info
10
CodeRank
116:	stanzaStack = new Stack<Stanza>(); 
Full Snippet Info
9
CodeRank
78:	int x = testStack.size(); 
79:	Object item = testStack.peek(); 
80:	assertTrue(testStack.pop() == item); 
81:	assertEquals(x - 1, testStack.size()); 
-
143:	Stack<String> stack = new Stack<String>(); 
144:	stack.push("1"); 
145:	stack.push("2"); 
146:	stack.push("3"); 
Full Snippet Info
8
CodeRank
139:	return instance.get().peek(); 
Full Snippet Info
9
CodeRank
47:	private final Stack<ComponentDefinition> containingComponents = new Stack<ComponentDefinition>(); 
Full Snippet Info
8
CodeRank
146:	compoundStack = new Stack<String>(); 
Full Snippet Info
9
CodeRank
219:	appendType(typesStack.peek(), iFieldName, 'l'); 
Full Snippet Info
9
CodeRank
97:	if (this.subHandlers.size() > 0) { 
98:	Object top = this.subHandlers.peek(); 
Full Snippet Info
7
CodeRank
32:	Stack<String> packageStack = new Stack<String>(); 
Full Snippet Info
8
CodeRank
31:	handlers = new Stack(); 
Full Snippet Info
9
CodeRank
70:	private final Stack<Object> _stack = new Stack<Object>(); 
Full Snippet Info
8
CodeRank
32:	tagstack = new Stack<SyndElement>(); 
Full Snippet Info
9
CodeRank
8:	private Stack<Object> fixtureStack = new Stack<Object>(); 
Full Snippet Info
7
CodeRank
55:	private Stack<File> fileStack_ = new Stack<File>(); 
Full Snippet Info
9
CodeRank
35:	methodStack = new Stack<String>(); 
Full Snippet Info
7
CodeRank
38:	mFrames = new Stack<IAnimationFrame>(); 
Full Snippet Info
9
CodeRank
38:	private Stack<String> elementStack = new Stack<String>(); 
Full Snippet Info
7
CodeRank
26:	private Stack<LocalizedMatcher> matcherStack = new Stack<LocalizedMatcher>(); 
Full Snippet Info
9
CodeRank
162:	private Stack<Object> stateStack = new Stack<Object>(); 
Full Snippet Info
7
CodeRank
22:	currentStack.set(new Stack<TagContext>()); 
Full Snippet Info
9
CodeRank