Code example for SortedSet

Methods: size

0
		return false; 
	} 
 
	@Override 
	public int getAmountOfCheckedItems() { 
		return checkedVariables.size();
	} 
 
	@Override 
	public SortedSet<Integer> getCheckedItems() {
		return checkedVariables;
	} 
 
	public List<UserVariable> getCheckedUserVariables() {
		List<UserVariable> vars = new ArrayList<UserVariable>();
		for (int pos : getCheckedItems()) {
			vars.add(getItem(pos));
		} 
		return vars;
	}