Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 423 for getKey (0.06 sec)

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

      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return map.containsKey(object);
      }
    
      @Override
      K get(int index) {
        return map.entrySet().asList().get(index).getKey();
      }
    
      @Override
      public void forEach(Consumer<? super K> action) {
        checkNotNull(action);
        map.forEach((k, v) -> action.accept(k));
      }
    
      @Override
      boolean isPartialView() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

                protected N computeNext() {
                  while (entries.hasNext()) {
                    Entry<N, Object> entry = entries.next();
                    if (isPredecessor(entry.getValue())) {
                      return entry.getKey();
                    }
                  }
                  return endOfData();
                }
              };
            } else {
              Iterator<NodeConnection<N>> nodeConnections = orderedNodeConnections.iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                elementStack.addFirst(name);
                visitor.onStartHtmlElement(name);
                for (Map.Entry<String, String> entry : attributes.entrySet()) {
                    visitor.onHtmlElementAttribute(entry.getKey(), entry.getValue());
                }
                attributes.clear();
                visitor.onStartHtmlElementComplete(name);
            }
    
            @Override
            public void onEndHtmlElement(String name) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java

      public void testPutDuplicateValue() {
        List<Entry<K, V>> entries = copyToList(multimap().entries());
    
        for (Entry<K, V> entry : entries) {
          resetContainer();
          K k = entry.getKey();
          V v = entry.getValue();
    
          Set<V> values = multimap().get(k);
          Set<V> expectedValues = copyToSet(values);
    
          assertFalse(multimap().put(k, v));
          assertEquals(expectedValues, values);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

          count.incrementAndGet();
          lastNotification = notification;
        }
    
        public int getCount() {
          return count.get();
        }
    
        public K getLastEvictedKey() {
          return lastNotification.getKey();
        }
    
        public V getLastEvictedValue() {
          return lastNotification.getValue();
        }
    
        public RemovalNotification<K, V> getLastNotification() {
          return lastNotification;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                            null,
                            "version of a plugin must be defined. ",
                            plugin);
                }
    
                String key = plugin.getKey();
    
                Plugin existing = index.get(key);
    
                if (existing != null) {
                    addViolation(
                            problems,
                            errOn31,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  7. android/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)
  8. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

                                final Map<String, Object> valueCount = new HashMap<>(2, 1f);
                                valueCount.put("value", e.getKey());
                                valueCount.put("count", e.getValue());
                                return valueCount;
                            }).collect(Collectors.toList()));
                            return fieldMap;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                List<ConflictResolver> conflictResolvers)
                throws ArtifactResolutionException {
            fireEvent(ResolutionListener.TEST_ARTIFACT, listeners, node);
    
            Object key = node.getKey();
    
            // TODO Does this check need to happen here? Had to add the same call
            // below when we iterate on child nodes -- will that suffice?
            if (managedVersions.containsKey(key)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

          ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      public static class ImmutableListMultimapCopyOfEntriesGenerator
          extends TestStringListMultimapGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top