Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for unsafeDelegate (0.22 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        do {
          delegate.add(checkNotNull(elements.next()));
        } while (elements.hasNext());
    
        return unsafeDelegate(delegate);
      }
    
      // Factory methods that skips the null checks on elements, only used when
      // the elements are known to be non-null.
      static <E> ImmutableSet<E> unsafeDelegate(Set<E> delegate) {
        switch (delegate.size()) {
          case 0:
            return of();
          case 1:
    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)
Back to top