Code example for Stack

Methods: size

0
		return bestAtom;
	} 
 
	@Override 
	public boolean hasNext() { 
		return explored.size() < size;
	} 
 
	@Override 
	public void back() { 
		explored.pop();
	} 
 
	@Override 
	public void reset() { 
		explored.clear();
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java