Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 267 for keySet (0.09 sec)

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

          return size == keyToIndex().size();
        }
    
        K getKey(int index) {
          return keyToIndex().keySet().asList().get(index);
        }
    
        @CheckForNull
        abstract V getValue(int keyIndex);
    
        @Override
        ImmutableSet<K> createKeySet() {
          return isFull() ? keyToIndex().keySet() : super.createKeySet();
        }
    
        @Override
        public int size() {
          return size;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      }
    
    
      public void testKeySet_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
          Set<Object> keys = cache.asMap().keySet();
          List<Entry<Object, Object>> warmed = warmUp(cache);
    
          Set<Object> expected = Maps.newHashMap(cache.asMap()).keySet();
          assertThat(keys).containsExactlyElementsIn(expected);
          assertThat(keys.toArray()).asList().containsExactlyElementsIn(expected);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/ParamMap.java

            parent.putAll(m);
        }
    
        @Override
        public void clear() {
            parent.clear();
        }
    
        @Override
        public Set<K> keySet() {
            // return original keys
            return parent.keySet();
        }
    
        @Override
        public Collection<V> values() {
            return parent.values();
        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        protected int processDestroyTimeout = 10;
    
        @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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

        return delegate().tailMap(fromKey);
      }
    
      /**
       * A sensible implementation of {@link SortedMap#keySet} in terms of the methods of {@code
       * ForwardingSortedMap}. In many cases, you may wish to override {@link
       * ForwardingSortedMap#keySet} to forward to this implementation or a subclass thereof.
       *
       * @since 15.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

            Set<?> set = (Set<?>) obj;
            return inputSet.keySet().containsAll(set);
          }
          return false;
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof PowerSet) {
            PowerSet<?> that = (PowerSet<?>) obj;
            return inputSet.keySet().equals(that.inputSet.keySet());
          }
          return super.equals(obj);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          Set<K> keySet = new HashSet<>();
          List<Entry<K, V>> builder = new ArrayList<>();
          for (Object o : elements) {
            Entry<?, ?> entry = (Entry<?, ?>) o;
            // These come from Entry<K, Collection<V>>> objects somewhere.
            @SuppressWarnings("unchecked")
            K key = (K) entry.getKey();
            keySet.add(key);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

        private final Set<ApiChange> acceptedApiChanges;
    
        public AcceptedRegressionsRuleSetup(Map<String, String> acceptedApiChanges) {
            this.acceptedApiChanges = AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges).keySet();
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContext context) {
            Map<String, Object> userData = (Map<String, Object>) context.getUserData();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top