Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for IdentityHashMap (0.22 sec)

  1. 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<>();
        }
    
        public void debug(String message) {}
    
        public void transferCompleted(TransferEvent transferEvent) {
            ArtifactTransferEvent event = wrap(transferEvent);
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
  2. 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.values()) {
                if (provided instanceof WeakMojoExecutionListener) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
        iterator.next();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 14 14:52:51 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
                new IdentityHashMap<Integer, String>(), new IdentityHashMap<String, Integer>()) {};
        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
        iterator.next();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu May 14 14:52:51 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  5. 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;
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        }
    
        /**
         * {@link IdentityHashMap}の新しいインスタンスを作成して返します。
         *
         * @param <K>
         *            {@link IdentityHashMap}のキーの型
         * @param <V>
         *            {@link IdentityHashMap}の値の型
         * @return {@link IdentityHashMap}の新しいインスタンス
         * @see IdentityHashMap#IdentityHashMap()
         */
        public static <K, V> IdentityHashMap<K, V> newIdentityHashMap() {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 53.9K bytes
    - Viewed (0)
  7. 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;
    
    /**
     */
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/Maps.java

        /**
         * 指定されたキーと値を持つ{@link IdentityHashMap}を構築するための{@literal Maps}を返します。
         *
         * @param <KEY>
         *            <code>Map</code>のキーの型
         * @param <VALUE>
         *            <code>Map</code>の値ーの型
         * @param key
         *            <code>Map</code>に追加されるキー
         * @param value
         *            <code>Map</code>に追加される値
         * @return 指定されたキーと値を持つ{@link IdentityHashMap}を構築するための{@literal Maps}
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. 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 org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.project.MavenProject;
    
    /**
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * an element in the set. For example, {@code contains} returns {@code false} when passed an
       * object that equals a set member, but isn't the same instance. This behavior is similar to the
       * way {@code IdentityHashMap} handles key lookups.
       *
       * @since 8.0
       */
      public static <E extends @Nullable Object> Set<E> newIdentityHashSet() {
        return Collections.newSetFromMap(Maps.<E, Boolean>newIdentityHashMap());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 77.2K bytes
    - Viewed (0)
Back to top