title: Best way to cast Iterator<Object> to a Set<String>, for instance
body: <p>Casting an <code>Iterator&lt;Object&gt;</code> to a <code>Set&lt;String&gt;</code>    </p>
  
  <p>What would be the cleanest/best practice way?   </p>