Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 299 for EntrySet (0.31 sec)

  1. guava-tests/test/com/google/common/io/ByteSinkTester.java

      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        }
    
        @Override
        public Enumeration<Object> elements() {
            return getProperties().elements();
        }
    
        @Override
        public Set<java.util.Map.Entry<Object, Object>> entrySet() {
            return getProperties().entrySet();
        }
    
        @Override
        public boolean equals(final Object o) {
            return getProperties().equals(o);
        }
    
        @Override
        public Object get(final Object key) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

          resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0()));
          List<V> expectedValues = copyToList(values);
    
          Entry<K, Collection<V>> asMapEntry = multimap().asMap().entrySet().iterator().next();
          List<V> asMapValue = (List<V>) asMapEntry.getValue();
          asMapValue.remove(i);
          expectedValues.remove(i);
    
          assertGet(k0(), expectedValues);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            // Clean up old failure records
            long now = System.currentTimeMillis();
            lastFailureTimes.entrySet().removeIf(entry -> now - entry.getValue() > FAILURE_RECOVERY_TIME * 2);
    
            // Clean up old consecutive failure counters
            consecutiveFailures.entrySet().removeIf(entry -> {
                String key = entry.getKey();
                Long lastFailure = lastFailureTimes.get(key);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        return new AbstractSet<N>() {
          @Override
          public UnmodifiableIterator<N> iterator() {
            if (orderedNodeConnections == null) {
              Iterator<Entry<N, Object>> entries = adjacentNodeValues.entrySet().iterator();
              return new AbstractIterator<N>() {
                @Override
                protected @Nullable N computeNext() {
                  while (entries.hasNext()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

        expected.add(mapEntry(k0(), (Collection<V>) newHashSet(v0(), v3())));
        expected.add(mapEntry(k1(), (Collection<V>) newHashSet(v0())));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals();
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      /*
       * SetMultimap.asMap essentially returns a Map<K, Set<V>>; we just can't declare it that way.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

         */
        if (result == null) {
          return null;
        } else {
          return (V) result;
        }
      }
    
      @Override
      ImmutableSet<Entry<K, V>> createEntrySet() {
        return new RegularImmutableMap.EntrySet<K, V>(this, alternatingKeysAndValues, keyOffset, size);
      }
    
      @Override
      ImmutableSet<K> createKeySet() {
        @SuppressWarnings("unchecked")
        ImmutableList<K> keyList =
            (ImmutableList<K>)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

          resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0()));
          List<V> expectedValues = copyToList(values);
    
          Entry<K, Collection<V>> asMapEntry = multimap().asMap().entrySet().iterator().next();
          List<V> asMapValue = (List<V>) asMapEntry.getValue();
          asMapValue.remove(i);
          expectedValues.remove(i);
    
          assertGet(k0(), expectedValues);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashMap.java

     * collector by only using a constant number of internal objects.
     *
     * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and
     * {@link #values} views is the same as insertion order. Any removal invalidates any ordering
     * guarantees.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

      }
    
      public void testEquals_list() {
        assertFalse(
            "A List should never equal a Map.", getMap().equals(copyToList(getMap().entrySet())));
      }
    
      private static <K, V> Map<K, V> newHashMap(
          Collection<? extends Entry<? extends K, ? extends V>> entries) {
        HashMap<K, V> map = new HashMap<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top