code: @SuppressWarnings({"unchecked"})
      public static <T> Iterator<T> cast(Iterator<? extends T> itr) {
          return (Iterator)itr;
      }
docs: Casts {@link Iterator} by taking advantage of its covariant-ness.