Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 3,991 for extends (0.12 sec)

  1. android/guava/src/com/google/common/collect/ReverseOrdering.java

      @Override
      public <S extends T> Ordering<S> reverse() {
        return (Ordering<S>) forwardOrder;
      }
    
      // Override the min/max methods to "hoist" delegation outside loops
    
      @Override
      public <E extends T> E min(@ParametricNullness E a, @ParametricNullness E b) {
        return forwardOrder.max(a, b);
      }
    
      @Override
      public <E extends T> E min(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSetMultimap.java

          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        return new Builder<K, V>().putAll(entries).build();
      }
    
      /** Creates an ImmutableSetMultimap from an asMap.entrySet. */
      static <K, V> ImmutableSetMultimap<K, V> fromMapEntries(
          Collection<? extends Map.Entry<? extends K, ? extends Collection<? extends V>>> mapEntries,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/ForwardingCache.java

      }
    
      /** @since 11.0 */
      @Override
      public V get(K key, Callable<? extends V> valueLoader) throws ExecutionException {
        return delegate().get(key, valueLoader);
      }
    
      /** @since 11.0 */
      @Override
      /*
       * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they
       * differ: <? extends Object> means "non-null types," while <?> means "all types."
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public class MultimapEqualsTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testEqualsTrue() {
        new EqualsTester()
            .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

      public static <E extends @Nullable Object> List<E> copyToList(Iterable<? extends E> elements) {
        List<E> list = new ArrayList<>();
        addAll(list, elements);
        return list;
      }
    
      public static <E extends @Nullable Object> List<E> copyToList(E[] elements) {
        return copyToList(asList(elements));
      }
    
      // Clone of Sets.newLinkedHashSet
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

      public static final class TwoArgConstructorException extends Exception {
        public TwoArgConstructorException(String message, Throwable cause) {
          super(message, cause);
        }
      }
    
      public static final class TwoArgConstructorRuntimeException extends RuntimeException {
        public TwoArgConstructorRuntimeException(String message, Throwable cause) {
          super(message, cause);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 13:46:56 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Enums.java

       *
       * @since 12.0
       */
      public static <T extends Enum<T>> Optional<T> getIfPresent(Class<T> enumClass, String value) {
        checkNotNull(enumClass);
        checkNotNull(value);
        return Platform.getEnumIfPresent(enumClass, value);
      }
    
      @GwtIncompatible // java.lang.ref.WeakReference
      private static final Map<Class<? extends Enum<?>>, Map<String, WeakReference<? extends Enum<?>>>>
          enumConstantCache = new WeakHashMap<>();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        return new Builder<K, V>().putAll(entries).build();
      }
    
      /** Creates an ImmutableSetMultimap from an asMap.entrySet. */
      static <K, V> ImmutableSetMultimap<K, V> fromMapEntries(
          Collection<? extends Map.Entry<? extends K, ? extends Collection<? extends V>>> mapEntries,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

     * @author Mike Bostock
     */
    public class SynchronizedMapTest extends TestCase {
      public final Object mutex = new Object[0]; // something Serializable
    
      protected <K, V> Map<K, V> create() {
        TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex);
        Map<K, V> outer = Synchronized.map(inner, mutex);
        return outer;
      }
    
      static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top