public Set<E> getDistinct() {
        Set<E> set = new HashSet<E>();
		int size = size();
		for (int i=0; i<size; i++) {
			set.add(doGet(i));
		}
        return set;
    }
Returns distinct elements in the list.

@return		distinct elements in the list
jphp-runtime/src/php/runtime/memory/support/IList.java