Lines Matching defs:of
6 * You may obtain a copy of the License at
24 * An implementation of {@code Iterable} which throws an exception on all
25 * invocations of the {@link #iterator()} method after the first, and whose
34 * <li>throwing an exception of some kind
36 * implementations have, of returning a new, independent iterator
39 * Because of this situation, any public method accepting an iterable should
45 * ones of the robust variety.
55 public static <E> MinimalIterable<E> of(E... elements) {
62 * The elements are copied out of the source collection at the time this
67 return (MinimalIterable) of(elements.toArray());
80 // might be relying on this particular type of exception?