Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 457 for EntrySet (0.06 seconds)

  1. android/guava/src/com/google/common/collect/AbstractBiMap.java

        public String toString() {
          return standardToString();
        }
      }
    
      @LazyInit private transient @Nullable Set<Entry<K, V>> entrySet;
    
      @Override
      public Set<Entry<K, V>> entrySet() {
        Set<Entry<K, V>> result = entrySet;
        return (result == null) ? entrySet = new EntrySet() : result;
      }
    
      private final class BiMapEntry extends ForwardingMapEntry<K, V> {
        private final Entry<K, V> delegate;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          assertEquals(expectedEntrySetHash, entrySet.hashCode());
          assertTrue(entrySet.containsAll(new HashSet<Entry<K, V>>(entrySet)));
          assertTrue(entrySet.equals(new HashSet<Entry<K, V>>(entrySet)));
        }
    
        Object[] entrySetToArray1 = entrySet.toArray();
        assertEquals(map.size(), entrySetToArray1.length);
        assertTrue(asList(entrySetToArray1).containsAll(entrySet));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingMap.java

       * {@link #entrySet}. If you override {@link #entrySet}, you may wish to override {@link
       * #containsValue} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardContainsValue(@Nullable Object value) {
        return Maps.containsValueImpl(this, value);
      }
    
      /**
       * A sensible implementation of {@link Map#entrySet} in terms of the following methods: {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

      public void testEntrySet_clear() {
        getMultiset().entrySet().clear();
        assertTrue("multiset not empty after entrySet().clear()", getMultiset().isEmpty());
      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testEntrySet_iteratorRemovePropagates() {
        Iterator<Multiset.Entry<E>> iterator = getMultiset().entrySet().iterator();
        assertTrue(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        assertEquals(0, multiset.size());
        assertEquals(0, multiset.toArray().length);
        assertTrue(multiset.entrySet().isEmpty());
        assertFalse(multiset.iterator().hasNext());
        assertEquals(0, multiset.entrySet().size());
        assertEquals(0, multiset.entrySet().toArray().length);
        assertFalse(multiset.entrySet().iterator().hasNext());
      }
    
      public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

      abstract Iterator<Entry<E>> entryIterator();
    
      @Nullable private transient Set<Entry<E>> entrySet;
    
      @Override
      public Set<Entry<E>> entrySet() {
        Set<Entry<E>> result = entrySet;
        return (result == null) ? entrySet = createEntrySet() : result;
      }
    
      Set<Entry<E>> createEntrySet() {
        return new Multisets.EntrySet<E>() {
          @Override
          Multiset<E> multiset() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/DescendingMultiset.java

      @LazyInit private transient @Nullable Set<Entry<E>> entrySet;
    
      @Override
      public Set<Entry<E>> entrySet() {
        Set<Entry<E>> result = entrySet;
        return (result == null) ? entrySet = createEntrySet() : result;
      }
    
      Set<Entry<E>> createEntrySet() {
        @WeakOuter
        final class EntrySetImpl extends Multisets.EntrySet<E> {
          @Override
          Multiset<E> multiset() {
    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)
  8. android/guava/src/com/google/common/collect/ForwardingMultiset.java

       * {@link #entrySet}, you may wish to override {@link #hashCode} to forward to this
       * implementation.
       *
       * @since 7.0
       */
      protected int standardHashCode() {
        return entrySet().hashCode();
      }
    
      /**
       * A sensible definition of {@link #toString} as {@code entrySet().toString()} . If you override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

        for (Entry<K, V> entry : getMap().entrySet()) {
          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          expectUnchanged();
        }
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testSetValueNullSupported() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

      }
    
      /**
       * A sensible definition of {@link #firstEntry()} in terms of {@code entrySet().iterator()}.
       *
       * <p>If you override {@link #entrySet()}, you may wish to override {@link #firstEntry()} to
       * forward to this implementation.
       */
      protected @Nullable Entry<E> standardFirstEntry() {
        Iterator<Entry<E>> entryIterator = entrySet().iterator();
        if (!entryIterator.hasNext()) {
          return null;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top