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();
	} 
}