- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,057 for entre (0.05 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
@Override public Entry<String, Integer>[] createArray(int length) { return (Entry<String, Integer>[]) new Entry<?, ?>[length]; } @Override public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) { return new Ordering<Entry<String, Integer>>() { @Override public int compare(Entry<String, Integer> left, Entry<String, Integer> right) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntrySet.java
return map().size(); } @Override public boolean contains(@CheckForNull Object object) { if (object instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) object; V value = map().get(entry.getKey()); return value != null && value.equals(entry.getValue()); } return false; } @Override boolean isPartialView() { return map().isPartialView(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.1K bytes - Viewed (0) -
cmd/metacache-stream_test.go
if err != io.EOF { t.Fatal(err, entries.len()) } want := loadMetacacheSampleNames var noDirs []string for i, entry := range entries.entries() { if entry.name != want[i] { t.Errorf("entry %d, want %q, got %q", i, want[i], entry.name) } if !entry.isDir() { noDirs = append(noDirs, entry.name) } } if entries.len() != len(want) { t.Fatal("unexpected length:", entries.len(), "want:", len(want)) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 15K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
} /** Makes an entry usable internally by a new ImmutableMap. */ static <K, V> ImmutableMapEntry<K, V> makeImmutable(Entry<K, V> entry) { return makeImmutable(entry, entry.getKey(), entry.getValue()); } private RegularImmutableMap( Entry<K, V>[] entries, @CheckForNull @Nullable ImmutableMapEntry<K, V>[] table, int mask) { this.entries = entries;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 16.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
/** Returns the range that spans the given range and entry, if the entry can be coalesced. */ private static <K extends Comparable, V> Range<K> coalesce( Range<K> range, V value, @CheckForNull Entry<Cut<K>, RangeMapEntry<K, V>> entry) { if (entry != null && entry.getValue().getKey().isConnected(range) && entry.getValue().getValue().equals(value)) { return range.span(entry.getValue().getKey()); } return range;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
assertEquals("null", entry(NE, 1).toString()); assertEquals("null x 2", entry(NE, 2).toString()); } public void testEquals() { assertEquals(control("foo", 1), entry("foo", 1)); assertEquals(control("bar", 2), entry("bar", 2)); assertFalse(control("foo", 1).equals(entry("foo", 2))); assertFalse(entry("foo", 1).equals(control("bar", 1))); assertFalse(entry("foo", 1).equals(new Object()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
@Override public Set<Entry<K, V>> create(Object... elements) { Entry<K, V>[] entries = createArray(elements.length); arraycopy(elements, 0, entries, 0, elements.length); return createFromEntries(entries); } public abstract Set<Entry<K, V>> createFromEntries(Entry<K, V>[] entries); @Override @SuppressWarnings("unchecked") // generic arrays make typesafety sad public Entry<K, V>[] createArray(int length) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
public Builder<K, V> put(K key, V value) { super.put(key, value); return this; } @CanIgnoreReturnValue @Override public Builder<K, V> put(Entry<? extends K, ? extends V> entry) { super.put(entry); return this; } @CanIgnoreReturnValue @Override public Builder<K, V> putAll(Map<? extends K, ? extends V> map) { super.putAll(map);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
extends Sets.ImprovedAbstractSet<Entry<E>> { abstract Multiset<E> multiset(); @Override public boolean contains(@CheckForNull Object o) { if (o instanceof Entry) { Entry<?> entry = (Entry<?>) o; if (entry.getCount() <= 0) { return false; } int count = multiset().count(entry.getElement()); return count == entry.getCount();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
extends Sets.ImprovedAbstractSet<Entry<E>> { abstract Multiset<E> multiset(); @Override public boolean contains(@CheckForNull Object o) { if (o instanceof Entry) { Entry<?> entry = (Entry<?>) o; if (entry.getCount() <= 0) { return false; } int count = multiset().count(entry.getElement()); return count == entry.getCount();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.7K bytes - Viewed (0)