- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 825 for Entry (0.05 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
public void testAsMapGet() { for (K key : sampleKeys()) { List<V> expectedValues = new ArrayList<>(); for (Entry<K, V> entry : getSampleElements()) { if (entry.getKey().equals(key)) { expectedValues.add(entry.getValue()); } } Collection<V> collection = multimap().asMap().get(key); if (expectedValues.isEmpty()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.7K bytes - Viewed (0) -
android/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"),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
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 public int add(E element, int occurrences) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
std::unordered_set<string> filtered_keys; BundleEntryProto entry; v2_reader_->Seek(kHeaderEntryKey); for (v2_reader_->Next(); v2_reader_->Valid(); v2_reader_->Next()) { CHECK(entry.ParseFromArray(v2_reader_->value().data(), v2_reader_->value().size())) << entry.InitializationErrorString(); for (int i = 0; i < entry.slices_size(); ++i) { const auto& slice_proto = entry.slices(i);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java
implements TestSetGenerator<Entry<K, V>> { public EntriesGenerator( OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>> multimapGenerator) { super(multimapGenerator); } @Override public Set<Entry<K, V>> create(Object... elements) { return (Set<Entry<K, V>>) super.create(elements); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
import java.util.Map; import java.util.Map.Entry; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 19 19:28:11 UTC 2024 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/MultiEdgesConnecting.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Serialization.java
Multimap<K, V> multimap, ObjectOutputStream stream) throws IOException { stream.writeInt(multimap.asMap().size()); for (Map.Entry<K, Collection<V>> entry : multimap.asMap().entrySet()) { stream.writeObject(entry.getKey()); stream.writeInt(entry.getValue().size()); for (V value : entry.getValue()) { stream.writeObject(value); } } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 24.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
return !"badkey".equals(entry.getKey()) && !((Integer) 55556).equals(entry.getValue()); } }; protected Multimap<String, Integer> create() { Multimap<String, Integer> unfiltered = HashMultimap.create(); unfiltered.put("foo", 55556); unfiltered.put("badkey", 1); return Multimaps.filterEntries(unfiltered, ENTRY_PREDICATE); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0)