- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 186 for KeySet (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
@CollectionSize.Require(absent = ZERO) public void testPutAbsentConcurrentWithKeySetIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<K> iterator = getMap().keySet().iterator(); put(e3()); iterator.next(); }); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT}) @CollectionSize.Require(absent = ZERO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
PopulatableMapAsMultimap.create(); populateMultimapForKeySet(multimap, elements); return multimap.build().keySet(); } }) .named("Multimaps.forMap.keySet") .withFeatures(FOR_MAP_FEATURES_ANY) .createTestSuite()); // TODO: use collection testers on Multimaps.forMap.values
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
* collector by only using a constant number of internal objects. * * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and * {@link #values} views is the same as insertion order. Any removal invalidates any ordering * guarantees. * * <p>This class should not be assumed to be universally superior to {@code java.util.HashMap}.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
} @CanIgnoreReturnValue RoundToDoubleTester roundUnnecessaryShouldThrow() { unnecessaryShouldThrow = true; return this; } void test() { assertThat(expectedValues.keySet()) .containsAtLeastElementsIn(EnumSet.complementOf(EnumSet.of(UNNECESSARY))); for (Map.Entry<RoundingMode, Double> entry : expectedValues.entrySet()) { RoundingMode mode = entry.getKey();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 10.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
ImmutableMap.Builder<String, Integer> builder = ImmutableMap.builder(); for (int i = 0; i < elements.length; i++) { builder.put(elements[i], i); } return builder.buildOrThrow().keySet().asList(); } } public static class ImmutableMapValueListGenerator extends TestStringListGenerator { @Override public List<String> create(String[] elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* they were inserted into the builder. For example, in the above example, {@code * WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the order {@code "one"=1, * "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect the same order. If you * want a different order, consider using {@link #orderEntriesByValue(Comparator)}, which changes * this builder to sort entries by value. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
} private void testHasMapEntriesInOrder(Map<?, ?> map, Object... alternatingKeysAndValues) { List<? extends Entry<?, ?>> entries = new ArrayList<>(map.entrySet()); List<Object> keys = new ArrayList<>(map.keySet()); List<Object> values = new ArrayList<>(map.values()); assertEquals(2 * entries.size(), alternatingKeysAndValues.length); assertEquals(2 * keys.size(), alternatingKeysAndValues.length);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
.createTestSuite()); suite.addTest( ListTestSuiteBuilder.using(new ImmutableSortedMapKeyListGenerator()) .named("ImmutableSortedMap.keySet.asList") .withFeatures( CollectionSize.ANY, CollectionFeature.SERIALIZABLE, CollectionFeature.REJECTS_DUPLICATES_AT_CREATION,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
final UserInfoBhv userInfoBhv = ComponentUtil.getComponent(UserInfoBhv.class); userInfoBhv.selectList(cb -> { cb.query().setId_InScope(userInfoMap.keySet()); cb.fetchFirst(userInfoMap.size()); }).forEach(userInfo -> { final String code = userInfo.getId(); final UserInfo entity = userInfoMap.get(code);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 26.3K bytes - Viewed (0)