Code example for LinkedHashSet

Methods: size

0
		this.historySeachLists = historySeachLists;
	} 
	@Override 
	public int getCount() { 
		// TODO Auto-generated method stub 
		return historySeachLists.size();
	} 
 
	@Override 
	public Object getItem(int position) {
		// TODO Auto-generated method stub 
		int i = historySeachLists.size();
		String history = "";
		Iterator<String> iterator = historySeachLists.iterator();
		for (String s : historySeachLists) {
			if (position==i) {
				history = s;
				break; 
			} 
			i--;
		}