Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for setFromElements (0.07 seconds)

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

            for (Object key : keys) {
              map.put(key, new Object());
            }
            return map;
          };
        }
    
        static Construction<Set<Object>> setFromElements(Supplier<Set<Object>> mutableSupplier) {
          return elements -> {
            Set<Object> set = mutableSupplier.get();
            set.addAll(elements);
            return set;
          };
        }
      }
    
    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/CompactLinkedHashSetFloodingTest.java

    @GwtIncompatible
    @NullUnmarked
    public class CompactLinkedHashSetFloodingTest extends AbstractHashFloodingTest<Set<Object>> {
      public CompactLinkedHashSetFloodingTest() {
        super(
            ImmutableList.of(Construction.setFromElements(CompactLinkedHashSet::create)),
            n -> n * log(n),
            ImmutableList.of(QueryOp.SET_CONTAINS));
      }
    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