Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for mapFromKeys (0.06 seconds)

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

          compareTo = 0;
        }
      }
    
      @FunctionalInterface
      interface Construction<T> {
        @CanIgnoreReturnValue
        T create(List<?> keys);
    
        static Construction<Map<Object, Object>> mapFromKeys(
            Supplier<Map<Object, Object>> mutableSupplier) {
          return keys -> {
            Map<Object, Object> map = mutableSupplier.get();
            for (Object key : keys) {
              map.put(key, new Object());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/CompactLinkedHashMapFloodingTest.java

    @GwtIncompatible
    @NullUnmarked
    public class CompactLinkedHashMapFloodingTest
        extends AbstractHashFloodingTest<Map<Object, Object>> {
      public CompactLinkedHashMapFloodingTest() {
        super(
            ImmutableList.of(Construction.mapFromKeys(CompactLinkedHashMap::create)),
            n -> n * log(n),
            ImmutableList.of(QueryOp.MAP_GET));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.1K bytes
    - Click Count (0)
Back to Top