- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 776 for entropy (0.04 sec)
-
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
*/ protected @Nullable Entry<E> standardPollFirstEntry() { Iterator<Entry<E>> entryIterator = entrySet().iterator(); if (!entryIterator.hasNext()) { return null; } Entry<E> entry = entryIterator.next(); entry = Multisets.immutableEntry(entry.getElement(), entry.getCount()); entryIterator.remove(); return entry; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
} public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) { for (Entry<E> entry : asList(a, b, c)) { expectAddFailure(multiset, entry); } } private static int totalSize(Iterable<? extends Entry<?>> entries) { int sum = 0; for (Entry<?> entry : entries) { sum += entry.getCount(); } return sum; } private enum SubMultisetSpec {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 20:14:36 UTC 2024 - 26K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
private static Map<String, String> toHashMap(Entry<String, String>[] entries) { return populate(new HashMap<String, String>(), entries); } // TODO: call conversion constructors or factory methods instead of using // populate() on an empty map @CanIgnoreReturnValue private static <T, M extends Map<T, String>> M populate(M map, Entry<T, String>[] entries) { for (Entry<T, String> entry : entries) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 17.2K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
key = this.connection.getHeaderFieldKey(i); value = this.connection.getHeaderField(i); } for (final Entry<String, List<String>> entry : map.entrySet()) { entry.setValue(Collections.unmodifiableList(entry.getValue())); } return this.headerFields = Collections.unmodifiableMap(map); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
private static final class EntrySet<K, V> extends ImmutableSet<Entry<K, V>> { @Weak private final transient ImmutableSetMultimap<K, V> multimap; EntrySet(ImmutableSetMultimap<K, V> multimap) { this.multimap = multimap; } @Override public boolean contains(@Nullable Object object) { if (object instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) object;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
@CollectionSize.Require(absent = ZERO) public void testSetValue_valueAbsent() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(SEVERAL)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
} boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) { Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator(); boolean changed = false; while (entryIterator.hasNext()) { Entry<K, Collection<V>> entry = entryIterator.next(); K key = entry.getKey(); Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMap.java
RegularImmutableMap(Map<? extends K, ? extends V> delegate) { super(delegate); } RegularImmutableMap(Entry<? extends K, ? extends V>... entries) { this(/* throwIfDuplicateKeys= */ true, entries); } RegularImmutableMap(boolean throwIfDuplicateKeys, Entry<? extends K, ? extends V>[] entries) { super(throwIfDuplicateKeys, entries); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
when(nameFilter.accept(any(), any())).thenReturn(false); when(nameFilter.accept(parent, acceptedName)).thenReturn(true); FileEntry initial = entry("first"); FileEntry[] page1 = new FileEntry[] { entry("."), entry(".."), entry("rejected"), entry(acceptedName) }; TestIterator it = TestIterator.create(tree, parent, "*", nameFilter, 0, initial, List.of(new FileEntry[][] { page1 })); // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
public void putAll(Map<? extends K, ? extends V> m) { for (Entry<? extends K, ? extends V> entry : m.entrySet()) { put(entry.getKey(), entry.getValue()); } } @Override public void clear() { if (removalListener != null) { for (Entry<K, Timestamped<V>> entry : cachingHashMap.entrySet()) { alertListenerIfPresent(entry.getKey(), entry.getValue().getValue(), RemovalCause.EXPLICIT); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0)