Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for IdentityHashMap (1.48 sec)

  1. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param <K> the key type of {@link IdentityHashMap}
         * @param <V> the value type of {@link IdentityHashMap}
         * @return a new instance of {@link IdentityHashMap}
         * @see IdentityHashMap#IdentityHashMap()
         */
        public static <K, V> IdentityHashMap<K, V> newIdentityHashMap() {
            return new IdentityHashMap<>();
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

      // removed, since IdentityHashMap throws an exception when that occurs.
      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

      // removed, since IdentityHashMap throws an exception when that occurs.
      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/Maps.java

         * @param value the value to be added to the <code>Map</code>
         * @return a {@literal Maps} for constructing a {@link IdentityHashMap} with the specified key and value
         */
        public static <KEY, VALUE> Maps<KEY, VALUE> identityHashMap(final KEY key, final VALUE value) {
            return new Maps<>(new IdentityHashMap<KEY, VALUE>()).$(key, value);
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/DefaultDependencyResolutionResult.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.IdentityHashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.eclipse.aether.graph.Dependency;
    import org.eclipse.aether.graph.DependencyNode;
    
    /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

            // the same instance can be provided multiple times under different Key's
            // deduplicate instances to avoid redundant beforeXXX/afterXXX callbacks
            IdentityHashMap<WeakMojoExecutionListener, Object> listeners = new IdentityHashMap<>();
            for (Object provided : getScopeState().provided()) {
                if (provided instanceof WeakMojoExecutionListener weakMojoExecutionListener) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    import javax.inject.Singleton;
    
    import java.io.IOException;
    import java.net.ConnectException;
    import java.net.UnknownHostException;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.IdentityHashMap;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.api.plugin.MojoException;
    import org.apache.maven.lifecycle.LifecycleExecutionException;
    import org.apache.maven.model.building.ModelProblem;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

            }
        }
    
        private TransferListenerAdapter(ArtifactTransferListener listener) {
            this.listener = listener;
            this.artifacts = new IdentityHashMap<>();
            this.transfers = new IdentityHashMap<>();
        }
    
        @Override
        public void debug(String message) {}
    
        @Override
        public void transferCompleted(TransferEvent transferEvent) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.util.Collections;
    import java.util.IdentityHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.CopyOnWriteArrayList;
    
    import org.apache.maven.project.DependencyResolutionResult;
    import org.apache.maven.project.MavenProject;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.graph;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.IdentityHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.concurrent.ConcurrentHashMap;
    
    import org.apache.maven.execution.ProjectDependencyGraph;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 19 16:34:39 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top