Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 2,780 for extend (0.05 sec)

  1. guava/src/com/google/common/collect/Queues.java

      @J2ktIncompatible
      @GwtIncompatible // PriorityBlockingQueue
      public static <E extends Comparable> PriorityBlockingQueue<E> newPriorityBlockingQueue(
          Iterable<? extends E> elements) {
        if (elements instanceof Collection) {
          return new PriorityBlockingQueue<>((Collection<? extends E>) elements);
        }
        PriorityBlockingQueue<E> queue = new PriorityBlockingQueue<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EnumBiMap.java

     *
     * @author Mike Bostock
     * @since 2.0
     */
    @GwtCompatible
    @J2ktIncompatible
    public final class EnumBiMap<K extends Enum<K>, V extends Enum<V>> extends AbstractBiMap<K, V> {
      /*
       * J2CL's EnumMap does not need the Class instance, so we can use Object.class instead. (Or we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

        // used under GWT, etc., since the override of this method does not exist there
        ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
          return ImmutableMap.of();
        }
      }
    
      private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF =
          ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

        // used under GWT, etc., since the override of this method does not exist there
        ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
          return ImmutableMap.of();
        }
      }
    
      private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF =
          ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        CHECKED(IOException.class),
        UNCHECKED(RuntimeException.class);
    
        final Class<? extends Exception> exceptionType;
    
        ExceptionType(Class<? extends Exception> exceptionType) {
          this.exceptionType = exceptionType;
        }
      }
    
      private static final ImmutableSet<Class<? extends Exception>> OTHER_EXCEPTION_TYPES =
          ImmutableSet.of(
              BackingStoreException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingMultimap.java

     * invoke methods, they invoke methods on the {@code ForwardingMultimap}.
     *
     * @author Robert Konigsberg
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Multimap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingMultimap() {}
    
      @Override
      protected abstract Multimap<K, V> delegate();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingMultimap.java

     * invoke methods, they invoke methods on the {@code ForwardingMultimap}.
     *
     * @author Robert Konigsberg
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingObject implements Multimap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingMultimap() {}
    
      @Override
      protected abstract Multimap<K, V> delegate();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMultimap.java

          Iterator<? extends V> valueItr = values.iterator();
          return valueItr.hasNext() && Iterators.addAll(get(key), valueItr);
        }
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
        boolean changed = false;
        for (Entry<? extends K, ? extends V> entry : multimap.entries()) {
          changed |= put(entry.getKey(), entry.getValue());
        }
        return changed;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMultiset.java

         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterable<? extends E> elements) {
          if (elements instanceof Multiset) {
            Multiset<? extends E> multiset = (Multiset<? extends E>) elements;
            multiset.forEachEntry((e, n) -> contents.add(checkNotNull(e), n));
          } else {
            super.addAll(elements);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Enums.java

          Class<T> enumClass) {
        Map<String, WeakReference<? extends Enum<?>>> result = new HashMap<>();
        for (T enumInstance : EnumSet.allOf(enumClass)) {
          result.put(enumInstance.name(), new WeakReference<Enum<?>>(enumInstance));
        }
        enumConstantCache.put(enumClass, result);
        return result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top