- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for QueryOp (0.18 sec)
-
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
public String toString() { return name; } }; } static final QueryOp<Map<Object, Object>> MAP_GET = QueryOp.create("Map.get", Map::get, Math::log); @SuppressWarnings("ReturnValueIgnored") static final QueryOp<Set<Object>> SET_CONTAINS = QueryOp.create("Set.contains", Set::contains, Math::log); abstract void apply(T collection, Object query);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 8.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
.collect(ImmutableList.toImmutableList()), n -> n * Math.log(n), ImmutableList.of( QueryOp.create("BiMap.get", BiMap::get, Math::log), QueryOp.create("BiMap.inverse.get", (bm, o) -> bm.inverse().get(o), Math::log))); } /** All the ways to create an ImmutableBiMap. */ enum ConstructionPathway { COPY_OF_MAP {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashMapFloodingTest.java
public CompactHashMapFloodingTest() { super( ImmutableList.of(Construction.mapFromKeys(CompactHashMap::create)), n -> n * Math.log(n), ImmutableList.of(QueryOp.MAP_GET)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashSetFloodingTest.java
public CompactLinkedHashSetFloodingTest() { super( ImmutableList.of(Construction.setFromElements(CompactLinkedHashSet::create)), n -> n * Math.log(n), ImmutableList.of(QueryOp.SET_CONTAINS)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashSetFloodingTest.java
public CompactHashSetFloodingTest() { super( ImmutableList.of(Construction.setFromElements(CompactHashSet::create)), n -> n * Math.log(n), ImmutableList.of(QueryOp.SET_CONTAINS)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashMapFloodingTest.java
public CompactLinkedHashMapFloodingTest() { super( ImmutableList.of(Construction.mapFromKeys(CompactLinkedHashMap::create)), n -> n * Math.log(n), ImmutableList.of(QueryOp.MAP_GET)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapFloodingTest.java
public ImmutableMapFloodingTest() { super( Arrays.asList(ConstructionPathway.values()), n -> n * Math.log(n), ImmutableList.of(QueryOp.MAP_GET)); } /** All the ways to create an ImmutableMap. */ enum ConstructionPathway implements Construction<Map<Object, Object>> { COPY_OF_MAP { @Override
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) -
guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 2.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetFloodingTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 2.8K bytes - Viewed (0)