Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 670 for entryLen (0.55 sec)

  1. guava/src/com/google/common/collect/AbstractMultiset.java

      @LazyInit @CheckForNull private transient Set<Entry<E>> entrySet;
    
      @Override
      public Set<Entry<E>> entrySet() {
        Set<Entry<E>> result = entrySet;
        if (result == null) {
          entrySet = result = createEntrySet();
        }
        return result;
      }
    
      @WeakOuter
      class EntrySet extends Multisets.EntrySet<E> {
        @Override
        Multiset<E> multiset() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  2. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

            1 * listener.onAccess('keyWithNonStringValue', NON_STRING_VALUE)
            0 * listener._
        }
    
        def "entrySet() enumeration is tracked for non-strings"() {
            when:
            def result = ImmutableSet.copyOf(getMapUnderTestToRead().entrySet())
    
            then:
            result == innerMap.entrySet()
            1 * listener.onAccess(EXISTING_KEY, EXISTING_VALUE)
            1 * listener.onAccess('existing', 'existingStringValue')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/DescendingMultiset.java

      @LazyInit @CheckForNull 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() {
        @WeakOuter
        class EntrySetImpl extends Multisets.EntrySet<E> {
          @Override
          Multiset<E> multiset() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractBiMap.java

          return standardToString();
        }
      }
    
      @LazyInit @CheckForNull private transient 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;
      }
    
      class BiMapEntry extends ForwardingMapEntry<K, V> {
        private final Entry<K, V> delegate;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  6. 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) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      public void testEntrySetMutationThrows() {
        map.putInstance(String.class, "test");
        assertEquals(TypeToken.of(String.class), map.entrySet().iterator().next().getKey());
        assertEquals("test", map.entrySet().iterator().next().getValue());
        assertThrows(
            UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue(1));
      }
    
      public void testEntrySetToArrayMutationThrows() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

         *
         * TODO(cpovirk): decide what the best long-term action here is: force users
         * to suppress (as we do now), stop testing entrySet().add() at all, make
         * entrySet().add() tests tolerant of either behavior, introduce a map
         * feature for entrySet() that supports add(), or something else
         */
        return Arrays.asList(
            getAddUnsupportedNotPresentMethod(),
            getAddAllUnsupportedNonePresentMethod(),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /** Tester for {@code BiMap.entrySet} and methods on the entries in the set. */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class BiMapEntrySetTester<K, V> extends AbstractBiMapTester<K, V> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/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.
       */
      @CheckForNull
      protected Entry<E> standardFirstEntry() {
        Iterator<Entry<E>> entryIterator = entrySet().iterator();
        if (!entryIterator.hasNext()) {
          return null;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top