- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 361 for entrySet (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { assertEquals(expected, map); assertEquals(expected.hashCode(), map.hashCode()); assertEquals(expected.entrySet(), map.entrySet()); // Assert that expectedValues > mapValues and that // mapValues > expectedValues; i.e. that expectedValues == mapValues. Collection<?> expectedValues = expected.values();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java
assertEquals(2, keys.count(k0())); assertEquals(1, keys.count(k1())); assertEquals(3, keys.size()); assertContainsAllOf(keys, k0(), k1()); assertContainsAllOf( keys.entrySet(), Multisets.immutableEntry(k0(), 2), Multisets.immutableEntry(k1(), 1)); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testKeysCountAbsentNullKey() { assertEquals(0, multimap().keys().count(null));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java
.addEqualityGroup(getMultiset()) .addEqualityGroup(getSubjectGenerator().create()) .testEquals(); } public void testHashCodeMatchesEntrySet() { assertEquals(getMultiset().entrySet().hashCode(), getMultiset().hashCode()); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testEqualsMultisetWithNullValue() { new EqualsTester()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
public Collection<Object> values() { return parent.values(); } @Override public Set<java.util.Map.Entry<String, Object>> entrySet() { if (parent.containsKey(LANG_KEY)) { final List<java.util.Map.Entry<String, Object>> list = new ArrayList<>(parent.entrySet()); Collections.sort(list, (o1, o2) -> { final String k1 = o1.getKey(); if (LANG_KEY.equals(k1)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/exbhv/GroupBhv.java
try { final RESULT result = entityType.newInstance(); result.setName(DfTypeUtil.toString(source.get("name"))); result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey())) .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond))); return result;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
@Override Iterator<E> elementIterator() { throw new AssertionError("should never be called"); } /** @deprecated Internal method, use {@link #entrySet()}. */ @Deprecated @Override public Set<Multiset.Entry<E>> createEntrySet() { return new EntrySet(); } @Override int distinctElements() { return countMap.size(); } @Override public boolean isEmpty() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
*/ abstract Set<Entry<K, V>> createEntrySet(); @LazyInit @CheckForNull private transient Set<Entry<K, V>> entrySet; @Override public Set<Entry<K, V>> entrySet() { Set<Entry<K, V>> result = entrySet; return (result == null) ? entrySet = createEntrySet() : result; } @LazyInit @CheckForNull private transient Set<K> keySet; @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
*/ abstract Set<Entry<K, V>> createEntrySet(); @LazyInit @CheckForNull private transient Set<Entry<K, V>> entrySet; @Override public Set<Entry<K, V>> entrySet() { Set<Entry<K, V>> result = entrySet; return (result == null) ? entrySet = createEntrySet() : result; } @LazyInit @CheckForNull private transient Set<K> keySet; @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 161.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
} @Override public void clear() { throw new UnsupportedOperationException(); } @Override public int count(@Nullable Object element) { for (Entry<E> entry : entrySet()) { if (Objects.equal(entry.getElement(), element)) { return entry.getCount(); } } return 0; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0)