/**
  * Creates a new tree set using elements provided by an iterator.
  *
  * @param i an iterator whose elements will fill the set.
  */
 @SuppressWarnings("unchecked")
 public ObjectRBTreeSet(final Iterator<? extends K> i) {
   this(ObjectIterators.asObjectIterator(i));
 }
 @SuppressWarnings("unchecked")
 public ObjectListIterator<K> iterator() {
   return ObjectIterators.singleton(element);
 }