Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 298 for Seys (0.12 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMapFloodingTest.java

          public Map<Object, Object> create(List<?> keys) {
            return ImmutableMap.copyOf(
                Lists.transform(keys, k -> Maps.immutableEntry(k, "dummy value")));
          }
        },
        BUILDER_PUT_ONE_BY_ONE {
          @Override
          public Map<Object, Object> create(List<?> keys) {
            ImmutableMap.Builder<Object, Object> builder = ImmutableMap.builder();
            for (Object k : keys) {
              builder.put(k, "dummy value");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          this.keys = new @Nullable Object[initialCapacity];
          this.values = new @Nullable Object[initialCapacity];
        }
    
        private void ensureCapacity(int minCapacity) {
          if (minCapacity > keys.length) {
            int newCapacity = ImmutableCollection.Builder.expandedCapacity(keys.length, minCapacity);
            this.keys = Arrays.copyOf(keys, newCapacity);
    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)
  3. android/guava/src/com/google/common/cache/CacheLoader.java

      /**
       * Computes or retrieves the values corresponding to {@code keys}. This method is called by {@link
       * LoadingCache#getAll}.
       *
       * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does
       * contain will be cached, but {@code getAll} will throw an exception. If the returned map
       * contains extra keys not present in {@code keys} then all returned entries will be cached, but
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link BiMap} backed by two hash tables. This implementation allows null keys and values. A
     * {@code HashBiMap} and its inverse are both serializable.
     *
     * <p>This implementation guarantees insertion-based iteration order of its keys.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

        getMap()
            .replaceAll(
                (K k, V v) -> {
                  int index = keys().asList().indexOf(k);
                  return values().asList().get(index + 1);
                });
        List<Entry<K, V>> expectedEntries = new ArrayList<>();
        for (Entry<K, V> entry : getSampleEntries()) {
          int index = keys().asList().indexOf(entry.getKey());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LoadingCache.java

      /**
       * Returns a map of the values associated with {@code keys}, creating or retrieving those values
       * if necessary. The returned map contains entries that were already cached, combined with newly
       * loaded entries; it will never contain null keys or values.
       *
       * <p>Caches loaded by a {@link CacheLoader} will issue a single request to {@link
       * CacheLoader#loadAll} for all keys which are not already present in the cache. All entries
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBasedTable.java

     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

          SampleElements<Entry<K, V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) {
        return new SampleElements<>(
            Helpers.mapEntry(keys.e0(), values.e0()),
            Helpers.mapEntry(keys.e1(), values.e1()),
            Helpers.mapEntry(keys.e2(), values.e2()),
            Helpers.mapEntry(keys.e3(), values.e3()),
            Helpers.mapEntry(keys.e4(), values.e4()));
      }
    
      public E e0() {
        return e0;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

          SampleElements<Entry<K, V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) {
        return new SampleElements<>(
            Helpers.mapEntry(keys.e0(), values.e0()),
            Helpers.mapEntry(keys.e1(), values.e1()),
            Helpers.mapEntry(keys.e2(), values.e2()),
            Helpers.mapEntry(keys.e3(), values.e3()),
            Helpers.mapEntry(keys.e4(), values.e4()));
      }
    
      public E e0() {
        return e0;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        map.putAll(ENTRIES_TO_FILTER);
                        return Maps.filterKeys(map, FILTER_KEYS);
                      }
                    })
                .named("Maps.filterKeys[Map, Predicate]")
                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
Back to top