Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,599 for Map (0.01 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

        }
    
        class Builder {
            private Map<String, String> userProperties;
            private Map<String, String> systemProperties;
            private Instant startTime;
            private Path topDirectory;
            private Path rootDirectory;
    
            private Builder() {}
    
            private Builder(
                    Map<String, String> userProperties,
                    Map<String, String> systemProperties,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableMapKeySet.java

      private final ImmutableMap<K, V> map;
    
      ImmutableMapKeySet(ImmutableMap<K, V> map) {
        this.map = map;
      }
    
      @Override
      public int size() {
        return map.size();
      }
    
      @Override
      public UnmodifiableIterator<K> iterator() {
        return map.keyIterator();
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return map.containsKey(object);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Functions.java

          Map<K, ? extends V> map, @ParametricNullness V defaultValue) {
        return new ForMapWithDefault<>(map, defaultValue);
      }
    
      private static final class FunctionForMapNoDefault<
              K extends @Nullable Object, V extends @Nullable Object>
          implements Function<K, V>, Serializable {
        final Map<K, V> map;
    
        FunctionForMapNoDefault(Map<K, V> map) {
          this.map = checkNotNull(map);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(map.replace(one, three)).isSameInstanceAs(two);
        assertThat(map.get(one)).isSameInstanceAs(three);
        assertThat(map.replace(one, two, three)).isFalse();
        assertThat(map.get(one)).isSameInstanceAs(three);
        assertThat(map.replace(one, three, two)).isTrue();
        assertThat(map.get(one)).isSameInstanceAs(two);
        assertThat(map).hasSize(3);
    
        map.clear();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PropertyContributor.java

    public interface PropertyContributor extends SpiService {
        /**
         * Invoked just before session is created with a mutable map that carries collected user properties so far.
         *
         * @param userProperties The mutable user properties, never {@code null}.
         * @see #contribute(ProtoSession)
         */
        default void contribute(Map<String, String> userProperties) {}
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 20 19:58:27 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

                to.add(ArtifactUtils.copyArtifact(artifact));
            }
            return to;
        }
    
        public static <K, T extends Map<K, Artifact>> T copyArtifacts(Map<K, ? extends Artifact> from, T to) {
            if (from != null) {
                for (Map.Entry<K, ? extends Artifact> entry : from.entrySet()) {
                    to.put(entry.getKey(), ArtifactUtils.copyArtifact(entry.getValue()));
                }
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

      }
    
      public void testKeySet() {
        Map<String, Integer> map = create();
        Set<String> keySet = map.keySet();
        assertTrue(keySet instanceof SynchronizedSet);
        assertSame(mutex, ((SynchronizedSet<?>) keySet).mutex);
      }
    
      public void testValues() {
        Map<String, Integer> map = create();
        Collection<Integer> values = map.values();
        assertTrue(values instanceof SynchronizedCollection);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 28 19:11:14 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Maps.java

          implements MapDifference<K, V> {
        final Map<K, V> onlyOnLeft;
        final Map<K, V> onlyOnRight;
        final Map<K, V> onBoth;
        final Map<K, ValueDifference<V>> differences;
    
        MapDifferenceImpl(
            Map<K, V> onlyOnLeft,
            Map<K, V> onlyOnRight,
            Map<K, V> onBoth,
            Map<K, ValueDifference<V>> differences) {
          this.onlyOnLeft = unmodifiableMap(onlyOnLeft);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Maps.java

          implements MapDifference<K, V> {
        final Map<K, V> onlyOnLeft;
        final Map<K, V> onlyOnRight;
        final Map<K, V> onBoth;
        final Map<K, ValueDifference<V>> differences;
    
        MapDifferenceImpl(
            Map<K, V> onlyOnLeft,
            Map<K, V> onlyOnRight,
            Map<K, V> onBoth,
            Map<K, ValueDifference<V>> differences) {
          this.onlyOnLeft = unmodifiableMap(onlyOnLeft);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileToRawModelMerger.java

            // don't merge
        }
    
        @Override
        protected void mergeModel_Profiles(
                Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) {
            Iterator<Profile> sourceIterator = source.getProfiles().iterator();
            builder.profiles(target.getProfiles().stream()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Aug 07 14:32:16 GMT 2025
    - 7.7K bytes
    - Click Count (0)
Back to Top