Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 618 for getValue (0.37 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. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

                    reverseName = true;
                    name = name.substring(1);
                }
    
                String sysValue = properties.getProperty(name);
    
                String propValue = property.getValue();
                if (propValue != null && !propValue.isEmpty()) {
                    boolean reverseValue = false;
                    if (propValue.startsWith("!")) {
                        reverseValue = true;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        for (RemovalNotification<String, String> notification : listener) {
          removalNotifications.put(notification.getKey(), notification.getValue());
          assertWithMessage("Unexpected key/value pair passed to removalListener")
              .that(notification.getValue())
              .isEqualTo(notification.getKey());
        }
    
        // All of the seed values should have been visible, so we should have gotten removal
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        for (RemovalNotification<String, String> notification : listener) {
          removalNotifications.put(notification.getKey(), notification.getValue());
          assertWithMessage("Unexpected key/value pair passed to removalListener")
              .that(notification.getValue())
              .isEqualTo(notification.getKey());
        }
    
        // All of the seed values should have been visible, so we should have gotten removal
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

      }
    
      private String expectedToString(Set<Entry<K, V>> entries) {
        Map<K, V> reference = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          reference.put(entry.getKey(), entry.getValue());
        }
        return reference.toString();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

                    consumer = s -> context.logger.warn(
                            messageBuilderFactory.builder().warning(s).build());
                }
                for (String line : entry.getValue()) {
                    consumer.accept(indent + "  " + line);
                }
            }
            for (SecDispatcher.ValidationResponse subsystem : response.getSubsystems()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. 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)
  10. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

                }
    
                // Mock by index - getHeaderField(int)
                // Index 0 is status line, then headers in order
                int index = 1;
                for (Map.Entry<String, List<String>> entry : headers.entrySet()) {
                    when(conn.getHeaderField(index++)).thenReturn(entry.getValue().get(0));
                }
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top