Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 389 for getValue2 (0.14 sec)

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

      RegularImmutableMultiset(ObjectCountHashMap<E> contents) {
        this.contents = contents;
        long size = 0;
        for (int i = 0; i < contents.size(); i++) {
          size += contents.getValue(i);
        }
        this.size = Ints.saturatedCast(size);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public int count(@CheckForNull Object element) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        Entry<K, V> nullValueEntry = entry(k3(), null);
        assertNull(
            "putIfAbsent(key, null) should return null",
            getMap().putIfAbsent(nullValueEntry.getKey(), nullValueEntry.getValue()));
        expectAdded(nullValueEntry);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

      private static final Predicate<@Nullable Integer> EVEN = input -> input == null || input % 2 == 0;
      static final Predicate<Entry<String, Integer>> CORRECT_LENGTH =
          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
      public void testFilteredKeysIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                    queryBuf.append(URLUtil.encode(entry.getValue(), Constants.UTF_8));
                    queryBuf.append('=');
                    queryBuf.append(URLUtil.encode(entry.getKey(), Constants.UTF_8));
                    formBuf.append("<input type=\"hidden\" name=\"");
                    formBuf.append(StringEscapeUtils.escapeHtml4(entry.getValue()));
                    formBuf.append("\" value=\"");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. 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();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

                    consumer = s -> context.terminal
                            .writer()
                            .println(messageBuilderFactory.builder().warning(s).build());
                }
                for (String line : entry.getValue()) {
                    consumer.accept(indent + "  " + line);
                }
            }
            for (SecDispatcher.ValidationResponse subsystem : response.getSubsystems()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        for (RemovalNotification<String, String> notification : listener) {
          removalNotifications.put(notification.getKey(), notification.getValue());
          assertEquals(
              "Unexpected key/value pair passed to removalListener",
              notification.getKey(),
              notification.getValue());
        }
    
        // All of the seed values should have been visible, so we should have gotten removal
        // notifications for all of them.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/MemoryUtil.java

                long size = 0;
                for (final Map.Entry<?, ?> entry : ((Map<?, ?>) obj).entrySet()) {
                    size += sizeOf(entry.getKey());
                    size += sizeOf(entry.getValue());
                }
                return size;
            }
            return 16L;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !"badkey".equals(entry.getKey()) && 55556 != entry.getValue();
            }
          };
    
      public MultimapsFilterEntriesAsMapTest() {
        super(true, true, false);
      }
    
      private Multimap<String, Integer> createMultimap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

                @Override
                public K getKey() {
                  return backingEntry.getKey();
                }
    
                @Override
                public ImmutableSet<V> getValue() {
                  return ImmutableSet.of(backingEntry.getValue());
                }
              };
            }
          };
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top