Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 427 for getValue5 (0.06 seconds)

  1. android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        public int getCount() {
          return count.get();
        }
    
        public K getLastEvictedKey() {
          return lastNotification.getKey();
        }
    
        public V getLastEvictedValue() {
          return lastNotification.getValue();
        }
    
        public RemovalNotification<K, V> getLastNotification() {
          return lastNotification;
        }
      }
    
      /** No-op {@link RemovalListener}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

            unfilteredItr.hasNext(); ) {
          Entry<K, V> entry = unfilteredItr.next();
          if (entryPredicate.apply(entry) && Objects.equals(entry.getValue(), o)) {
            unfilteredItr.remove();
            return true;
          }
        }
        return false;
      }
    
      @Override
      public boolean removeAll(Collection<?> c) {
        return Iterables.removeIf(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

                        Map<String, String> map = new LinkedHashMap<>();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return new StandardImplForwardingMap<>(map);
                      }
                    })
                .named("ForwardingMap[LinkedHashMap] with standard implementations")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !Objects.equals(entry.getKey(), "badkey") && entry.getValue() != 55556;
            }
          };
    
      public MultimapsFilterEntriesAsMapTest() {
        super(true, true, false);
      }
    
      private Multimap<String, Integer> createMultimap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

        for (Entry<Class<?>, Collection<Subscriber>> entry : listenerMethods.asMap().entrySet()) {
          Class<?> eventType = entry.getKey();
          Collection<Subscriber> eventMethodsInListener = entry.getValue();
    
          CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType);
    
          if (eventSubscribers == null) {
            CopyOnWriteArraySet<Subscriber> newSet = new CopyOnWriteArraySet<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

            if (unfiltered.containsKey(entry.getKey())
                // if this holds, then we know entry.getKey() is a K
                && keyPredicate.apply((K) entry.getKey())) {
              return unfiltered.remove(entry.getKey(), entry.getValue());
            }
          }
          return false;
        }
      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/FilteredKeyMultimap.java

            if (unfiltered.containsKey(entry.getKey())
                // if this holds, then we know entry.getKey() is a K
                && keyPredicate.apply((K) entry.getKey())) {
              return unfiltered.remove(entry.getKey(), entry.getValue());
            }
          }
          return false;
        }
      }
    
      @Override
      Collection<V> createValues() {
        return new FilteredMultimapValues<>(this);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

        byte[] bytes = HashTestUtils.ascii(input);
    
        Checksum checksum = supplier.get();
        checksum.update(bytes, 0, bytes.length);
        long value = checksum.getValue();
    
        String toString = "name";
        HashFunction func = new ChecksumHashFunction(supplier, 32, toString);
        assertThat(func.toString()).isEqualTo(toString);
        assertEquals(value, func.hashBytes(bytes).padToLong());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) {
          for (Entry<? extends K, ? extends Collection<? extends V>> entry :
              multimap.asMap().entrySet()) {
            putAll(entry.getKey(), entry.getValue());
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        Builder<K, V> combine(ImmutableMultimap.Builder<K, V> other) {
          super.combine(other);
          return this;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertThat(entry.toString()).isEqualTo(entry.getKey() + "=" + entry.getValue());
        }
    
        assertThat(map.toString()).isEqualTo("{" + JOINER.join(map.entrySet()) + "}");
        assertThat(map.entrySet().toString()).isEqualTo("[" + JOINER.join(map.entrySet()) + "]");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
Back to Top