Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 354 for testvalue (0.16 sec)

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

       * Returns a map view that associates each key with the corresponding values in the multimap.
       * Changes to the returned map, such as element removal, will update the underlying multimap. The
       * map does not support {@code setValue} on its entries, {@code put}, or {@code putAll}.
       *
       * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

        return Collections.emptyMap();
      }
    
      private void putAll(Iterable<Entry<K, V>> entries) {
        Map<K, V> map = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        getMap().putAll(map);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPutAll_nullKeyUnsupported()} so that tests
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
      private ListenerCallQueue.Event<Object> countDownEvent(final CountDownLatch latch) {
        return new ListenerCallQueue.Event<Object>() {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Joiner.java

            appendable.append(joiner.toString(entry.getValue()));
            while (parts.hasNext()) {
              appendable.append(joiner.separator);
              Entry<?, ?> e = parts.next();
              appendable.append(joiner.toString(e.getKey()));
              appendable.append(keyValueSeparator);
              appendable.append(joiner.toString(e.getValue()));
            }
          }
          return appendable;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedMultimapTest.java

                            Synchronized.setMultimap(inner, inner.mutex);
                        for (Entry<String, String> entry : entries) {
                          outer.put(entry.getKey(), entry.getValue());
                        }
                        return outer;
                      }
                    })
                .named("Synchronized.setMultimap")
                .withFeatures(
                    MapFeature.GENERAL_PURPOSE,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 8.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimap.java

       * underlying multimap, and vice versa. The map does not support {@code put} or {@code putAll},
       * nor do its entries support {@link Entry#setValue setValue}.
       */
      Map<K, Collection<V>> asMap();
    
      // Comparison and hashing
    
      /**
       * Compares the specified object with this multimap for equality. Two multimaps are equal when
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          case 1:
            // requireNonNull is safe because the first `size` elements have been filled in.
            Entry<K, V> onlyEntry = requireNonNull(entryArray[0]);
            return of(comparator, onlyEntry.getKey(), onlyEntry.getValue());
          default:
            Object[] keys = new Object[size];
            Object[] values = new Object[size];
            if (sameComparator) {
              // Need to check for nulls, but don't need to sort or validate.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

          for (Table.Cell<String, SecretKey, HashFunction> cell : ALGORITHMS.cellSet()) {
            String algorithm = cell.getRowKey();
            SecretKey key = cell.getColumnKey();
            HashFunction hashFunc = cell.getValue();
            assertMacHashing(HashTestUtils.ascii(stringToTest), algorithm, key, hashFunc);
          }
        }
      }
    
      @AndroidIncompatible // sun.security
      public void testNoProviders() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              );
    
      private static final ImmutableSet<String> SOMEWHERE_UNDER_RS =
          ImmutableSet.<String>builder().addAll(SOMEWHERE_UNDER_PS).addAll(PS_NOT_RS).build();
    
      public void testValid() {
        for (String name : VALID_NAME) {
          InternetDomainName unused = InternetDomainName.from(name);
        }
      }
    
      public void testInvalid() {
        for (String name : INVALID_NAME) {
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

        return Crc32cHashFunction.CRC_32_C;
      }
    
      /**
       * Returns a hash function implementing the CRC-32 checksum algorithm (32 hash bits).
       *
       * <p>To get the {@code long} value equivalent to {@link Checksum#getValue()} for a {@code
       * HashCode} produced by this function, use {@link HashCode#padToLong()}.
       *
       * <p>This function is best understood as a <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
Back to top