- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for variant (0.14 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { if (elements instanceof ImmutableSet && !(elements instanceof ImmutableSortedSet)) { @SuppressWarnings("unchecked") // all supported methods are covariant ImmutableSet<E> set = (ImmutableSet<E>) elements; return set; } return copyOf(elements.iterator()); } public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 8.3K bytes - Viewed (0)