- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 872 for entry (0.03 sec)
-
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)));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
public class SortedMapNavigationTester<K, V> extends AbstractMapTester<K, V> { private SortedMap<K, V> navigableMap; private Entry<K, V> a; private Entry<K, V> c; @Override public void setUp() throws Exception { super.setUp(); navigableMap = (SortedMap<K, V>) getMap(); List<Entry<K, V>> entries = copyToList( getSubjectGenerator()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.1K bytes - Viewed (0) -
android/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) -
android/guava/src/com/google/common/collect/SortedMultisets.java
private static <E extends @Nullable Object> E getElementOrThrow(@CheckForNull Entry<E> entry) { if (entry == null) { throw new NoSuchElementException(); } return entry.getElement(); } @CheckForNull private static <E extends @Nullable Object> E getElementOrNull(@CheckForNull Entry<E> entry) { return (entry == null) ? null : entry.getElement(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapEntry.java
if (object instanceof Entry) { Entry<?, ?> that = (Entry<?, ?>) object; return Objects.equal(this.getKey(), that.getKey()) && Objects.equal(this.getValue(), that.getValue()); } return false; } @Override public int hashCode() { K k = getKey(); V v = getValue(); return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 05 00:40:25 UTC 2021 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapEntry.java
if (object instanceof Entry) { Entry<?, ?> that = (Entry<?, ?>) object; return Objects.equal(this.getKey(), that.getKey()) && Objects.equal(this.getValue(), that.getValue()); } return false; } @Override public int hashCode() { K k = getKey(); V v = getValue(); return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 05 00:40:25 UTC 2021 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java
"map.toString() incorrect", expectedToString(getMap().entrySet()), getMap().toString()); } private String expectedToString(Set<Entry<K, V>> entries) { Map<K, V> reference = new LinkedHashMap<>(); for (Entry<K, V> entry : entries) { reference.put(entry.getKey(), entry.getValue()); } return reference.toString(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.5K bytes - Viewed (0) -
android/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) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* either of these would recurse back to us again! */ private List<E> snapshot() { List<E> list = newArrayListWithExpectedSize(size()); for (Multiset.Entry<E> entry : entrySet()) { E element = entry.getElement(); for (int i = entry.getCount(); i > 0; i--) { list.add(element); } } return list; } // Modification Operations /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.1K bytes - Viewed (0) -
cmd/data-usage-cache.go
return } // Check for abandoned entries. found := make(map[string]struct{}, len(d.Cache)) // Mark all children recursively var mark func(entry dataUsageEntry) mark = func(entry dataUsageEntry) { for k := range entry.Children { found[k] = struct{}{} if ch, ok := d.Cache[k]; ok { mark(ch) } } } found[top] = struct{}{} mark(*topE)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 34.7K bytes - Viewed (0)