Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 423 for getKey (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

          Collection<? extends Entry<? extends K, ? extends V>> entries) {
        HashMap<K, V> map = new HashMap<>();
        for (Entry<? extends K, ? extends V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        return map;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

              final Map.Entry<E, Integer> mapEntry = backingEntries.next();
              return new Multisets.AbstractEntry<E>() {
                @Override
                public E getElement() {
                  return mapEntry.getKey();
                }
    
                @Override
                public int getCount() {
                  Integer frequency = backingMap.get(getElement());
                  return (frequency == null) ? 0 : frequency;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        }
    
        public String getBaseVersion() {
            // Don't want the artifact's version in here, as this is stored in the directory above that
            return null;
        }
    
        public Object getKey() {
            return "artifact " + artifact.getGroupId() + ":" + artifact.getArtifactId();
        }
    
        public boolean isSnapshot() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                    PropertiesUtil.load(props, tesseractConfigPath);
                    final Map<String, String> propMap =
                            props.entrySet().stream().collect(Collectors.toMap(e -> (String) e.getKey(), e -> (String) e.getValue()));
                    tesseractOCRConfig = new TesseractOCRConfig();
                    BeanUtil.copyMapToBean(propMap, tesseractOCRConfig);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

         */
        boolean storedInGroupDirectory();
    
        String getGroupId();
    
        String getArtifactId();
    
        String getBaseVersion();
    
        Object getKey();
    
        /**
         * Get the filename of this metadata on the local repository.
         *
         * @param repository the remote repository it came from
         * @return the filename
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      }
    
      ObjectCountHashMap(ObjectCountHashMap<? extends K> map) {
        init(map.size(), DEFAULT_LOAD_FACTOR);
        for (int i = map.firstIndex(); i != -1; i = map.nextIndex(i)) {
          put(map.getKey(i), map.getValue(i));
        }
      }
    
      /**
       * Constructs a new instance of {@code ObjectCountHashMap} with the specified capacity.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

        Multimap<Class<?>, Subscriber> listenerMethods = findAllSubscribers(listener);
    
        for (Entry<Class<?>, Collection<Subscriber>> entry : listenerMethods.asMap().entrySet()) {
          Class<?> eventType = entry.getKey();
          Collection<Subscriber> eventMethodsInListener = entry.getValue();
    
          CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType);
    
          if (eventSubscribers == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/DenseImmutableTable.java

        }
    
        abstract ImmutableMap<K, Integer> keyToIndex();
    
        // True if getValue never returns null.
        private boolean isFull() {
          return size == keyToIndex().size();
        }
    
        K getKey(int index) {
          return keyToIndex().keySet().asList().get(index);
        }
    
        @CheckForNull
        abstract V getValue(int keyIndex);
    
        @Override
        ImmutableSet<K> createKeySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !"badkey".equals(entry.getKey()) && !((Integer) 55556).equals(entry.getValue());
            }
          };
    
      protected Multimap<String, Integer> create() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

                        ListMultimap<String, String> multimap = ArrayListMultimap.create();
                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
                        return multimap;
                      }
                    })
                .named("ArrayListMultimap")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top