view source
Set<E> toSet () inherited
Set<E> toSet() { Set<E> result = Set<E>(); for (int i = 0; i < length; i++) { result.add(this[i]); } return result; }