Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 476 for genkey (0.05 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = new HashMap<>();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/HashMultimapTest.java

                        SetMultimap<String, String> multimap = HashMultimap.create();
                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
                        return multimap;
                      }
                    })
                .named("HashMultimap")
                .withFeatures(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

        switch (map.size()) {
          case 0:
            return ImmutableMap.of();
          case 1:
            Entry<K, V> entry = getOnlyElement(map.entrySet());
            return ImmutableMap.of(entry.getKey(), entry.getValue());
          default:
            return new ImmutableEnumMap<>(map);
        }
      }
    
      private final transient EnumMap<K, V> delegate;
    
      private ImmutableEnumMap(EnumMap<K, V> delegate) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/HashMultimapTest.java

                        SetMultimap<String, String> multimap = HashMultimap.create();
                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
                        return multimap;
                      }
                    })
                .named("HashMultimap")
                .withFeatures(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java

      private static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> entry(
          K key, V value) {
        return new AbstractMapEntry<K, V>() {
          @Override
          public K getKey() {
            return key;
          }
    
          @Override
          public V getValue() {
            return value;
          }
        };
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. 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) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

                  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();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  8. 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.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/collection/ArrayMap.java

         *
         * @param index
         *            the index
         * @return the key at the specified index
         */
        public K getKeyAt(final int index) {
            return getEntryAt(index).getKey();
        }
    
        /**
         * Returns the {@link java.util.Map.Entry} at the specified index.
         *
         * @param index
         *            the index
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                    ? null
                    : location.getLocations().entrySet().stream()
                            .collect(Collectors.toMap(
                                    e -> e.getKey(),
                                    e -> e.getValue() == location ? this : new InputLocation(e.getValue())));
            this.importedFrom = location.getImportedFrom() != null ? new InputLocation(location.getImportedFrom()) : null;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top