Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for LinkedHashMap (0.12 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                    Map<Object, Plugin> master = new LinkedHashMap<>(tgt.size() * 2);
    
                    for (Plugin element : tgt) {
                        Object key = getPluginKey().apply(element);
                        master.put(key, element);
                    }
    
                    Map<Object, List<Plugin>> predecessors = new LinkedHashMap<>();
                    List<Plugin> pending = new ArrayList<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactLinkedHashMap.java

     *
     * <p>As compared with {@link java.util.LinkedHashMap}, this structure places significantly reduced
     * load on the garbage collector by only using a constant number of internal objects.
     *
     * <p>This class should not be assumed to be universally superior to {@code
     * java.util.LinkedHashMap}. Generally speaking, this class reduces object allocation and memory
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        assertEquals(Collections.<String, Integer>emptyMap(), map);
      }
    
      public void testBuilderPutAll() {
        Map<String, Integer> toPut = new LinkedHashMap<>();
        toPut.put("one", 1);
        toPut.put("two", 2);
        toPut.put("three", 3);
        Map<String, Integer> moreToPut = new LinkedHashMap<>();
        moreToPut.put("four", 4);
        moreToPut.put("five", 5);
    
        ImmutableMap<String, Integer> map =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  4. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

         */
        public InputLocation clone() {
            try {
                InputLocation copy = (InputLocation) super.clone();
    
                if (copy.locations != null) {
                    copy.locations = new java.util.LinkedHashMap(copy.locations);
                }
    
                return copy;
            } catch (Exception ex) {
                throw (RuntimeException)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        assertEquals(Collections.<String, Integer>emptyMap(), map);
      }
    
      public void testBuilderPutAll() {
        Map<String, Integer> toPut = new LinkedHashMap<>();
        toPut.put("one", 1);
        toPut.put("two", 2);
        toPut.put("three", 3);
        Map<String, Integer> moreToPut = new LinkedHashMap<>();
        moreToPut.put("four", 4);
        moreToPut.put("five", 5);
    
        ImmutableMap<String, Integer> map =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

     * under the License.
     */
    package org.apache.maven.model.inheritance;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.api.model.InputLocation;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.ModelBase;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.util.ArrayList;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.DefaultArtifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

            }
            return artifactRelocationSources;
        }
    
        protected LinkedHashMap<String, MavenArtifactRelocationSource> createMavenArtifactRelocationSources() {
            // from maven-resolver-provider
            LinkedHashMap<String, MavenArtifactRelocationSource> result = new LinkedHashMap<>();
            result.put(UserPropertiesArtifactRelocationSource.NAME, new UserPropertiesArtifactRelocationSource());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        }
      }
    
      /**
       * LinkedHashMap that enforces it's maximum size and logs events in a StatsCounter object and an
       * optional RemovalListener.
       *
       * @param <K> the base key type
       * @param <V> the base value type
       */
      private class CapacityEnforcingLinkedHashMap<K, V> extends LinkedHashMap<K, Timestamped<V>> {
    
        private final StatsCounter statsCounter;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertEquals(Collections.<String, Integer>emptyMap(), map);
      }
    
      public void testBuilderPutAll() {
        Map<String, Integer> toPut = new LinkedHashMap<>();
        toPut.put("one", 1);
        toPut.put("two", 2);
        toPut.put("three", 3);
        Map<String, Integer> moreToPut = new LinkedHashMap<>();
        moreToPut.put("four", 4);
        moreToPut.put("five", 5);
    
        ImmutableBiMap<String, Integer> map =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top