Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 186 for KeySet (0.03 sec)

  1. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

         * Cleanup method called when the bean is destroyed.
         * Stops all running processes and cleans up resources.
         */
        @PreDestroy
        public void destroy() {
            for (final String sessionId : runningProcessMap.keySet()) {
                if (logger.isInfoEnabled()) {
                    logger.info("Stopping process {}", sessionId);
                }
                if (destroyProcess(sessionId) == 0 && logger.isInfoEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

        Multimap<String, Integer> filtered = filterValues(keyFiltered, VALUE_PREDICATE);
        assertEquals(1, filtered.size());
        assertTrue(filtered.containsEntry("foo", 1));
        assertTrue(filtered.keySet().retainAll(asList("cat", "dog")));
        assertEquals(0, filtered.size());
      }
    
      // TODO(jlevy): Many more tests needed.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

      }
    
      @Override
      public Set<N> successors() {
        return adjacentNodes();
      }
    
      @Override
      public Set<E> incidentEdges() {
        return Collections.unmodifiableSet(incidentEdgeMap.keySet());
      }
    
      @Override
      public Set<E> inEdges() {
        return incidentEdges();
      }
    
      @Override
      public Set<E> outEdges() {
        return incidentEdges();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

      public void testRemove() {
        Map<String, Collection<Integer>> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        String keyToRemove = map.keySet().iterator().next();
        if (supportsRemove) {
          int initialSize = map.size();
          // var oldValue = map.get(keyToRemove);
          map.remove(keyToRemove);
          // This line doesn't hold - see the Javadoc comments above.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 14:47:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultimap.java

      // views
    
      /**
       * Returns an immutable set of the distinct keys in this multimap, in the same order as they
       * appear in this multimap.
       */
      @Override
      public ImmutableSet<K> keySet() {
        return map.keySet();
      }
    
      @Override
      Set<K> createKeySet() {
        throw new AssertionError("unreachable");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

      @CollectionSize.Require(SEVERAL)
      public void testClearConcurrentWithKeySetIteration() {
        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<K> iterator = getMap().keySet().iterator();
              getMap().clear();
              iterator.next();
            });
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

            keys = result = Multisets.unmodifiableMultiset(delegate.keys());
          }
          return result;
        }
    
        @Override
        public Set<K> keySet() {
          Set<K> result = keySet;
          if (result == null) {
            keySet = result = Collections.unmodifiableSet(delegate.keySet());
          }
          return result;
        }
    
        @Override
        public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multimaps.java

            keys = result = Multisets.unmodifiableMultiset(delegate.keys());
          }
          return result;
        }
    
        @Override
        public Set<K> keySet() {
          Set<K> result = keySet;
          if (result == null) {
            keySet = result = Collections.unmodifiableSet(delegate.keySet());
          }
          return result;
        }
    
        @Override
        public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

      @CollectionSize.Require(SEVERAL)
      public void testClearConcurrentWithKeySetIteration() {
        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<K> iterator = getMap().keySet().iterator();
              getMap().clear();
              iterator.next();
            });
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

        for (Object entry : map.entrySet()) {
          retVal += entry.hashCode();
        }
        return (int) retVal;
      }
    
      @Benchmark
      public int keyIterate() {
        long retVal = 0;
        for (Object key : map.keySet()) {
          retVal += key.hashCode();
        }
        return (int) retVal;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top