- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 1,096 for entropy (0.21 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java
} @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutDuplicateValue() { List<Entry<K, V>> entries = copyToList(multimap().entries()); for (Entry<K, V> entry : entries) { resetContainer(); K k = entry.getKey(); V v = entry.getValue(); List<V> values = multimap().get(k); List<V> expectedValues = copyToList(values);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractCache.java
throw new UnsupportedOperationException(); } /** * @since 12.0 */ @Override 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 cleanUp() {} @Override public long size() { throw new UnsupportedOperationException(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 9.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java
@Override public boolean apply(Entry<String, Integer> entry) { return !Objects.equals(entry.getKey(), "badkey") && entry.getValue() != 55556; } }; public MultimapsFilterEntriesAsMapTest() { super(true, true, false); } private Multimap<String, Integer> createMultimap() { Multimap<String, Integer> unfiltered = HashMultimap.create();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Map; import java.util.Map.Entry; import java.util.Objects; import org.jspecify.annotations.Nullable; /** * A map entry which forwards all its method calls to another map entry. Subclasses should override * one or more methods to modify the behavior of the backing map entry as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.3K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 13.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/DescendingMultiset.java
} @Override public @Nullable Entry<E> firstEntry() { return forwardMultiset().lastEntry(); } @Override public @Nullable Entry<E> lastEntry() { return forwardMultiset().firstEntry(); } abstract Iterator<Entry<E>> entryIterator(); @LazyInit private transient @Nullable Set<Entry<E>> entrySet; @Override public Set<Entry<E>> entrySet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
final Iterator<Entry<TypeVariable<?>, Type>> it = map.entrySet().iterator(); Entry<TypeVariable<?>, Type> entry = it.next(); assertThat(entry.getKey().getName(), is("T1")); assertThat(entry.getValue(), is(sameClass(Integer.class))); entry = it.next(); assertThat(entry.getKey().getName(), is("T2")); assertThat(entry.getValue(), is(sameClass(Long.class)));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
BiMap<Country, String> result = EnumHashBiMap.create(Country.class); for (Object o : entries) { Entry<Country, String> entry = (Entry<Country, String>) o; result.put(entry.getKey(), entry.getValue()); } return result; } @Override public SampleElements<Entry<Country, String>> samples() { return new SampleElements<>( immutableEntry(Country.CANADA, "DOLLAR"),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
private final Entry<K, V> delegate; static <K, V extends @Nullable Object> Set<Entry<K, V>> transformEntries( Set<Entry<K, V>> entries) { return new ForwardingSet<Map.Entry<K, V>>() { @Override protected Set<Entry<K, V>> delegate() { return entries; } @Override public Iterator<Entry<K, V>> iterator() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 5.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) { try { // fine because the call is going to fail without modifying the entry @SuppressWarnings("unchecked") Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry; nullableValueEntry.setValue(null); fail("setValue on unmodifiable Map.Entry succeeded"); } catch (UnsupportedOperationException expected) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.9K bytes - Click Count (0)