Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for IdentityHashMap (0.1 sec)

  1. 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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. 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<>();
        }
    
        public void debug(String message) {}
    
        public void transferCompleted(TransferEvent transferEvent) {
            ArtifactTransferEvent event = wrap(transferEvent);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. 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 org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.project.MavenProject;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. 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());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                CollectionFeature.SERIALIZABLE,
                CollectionSize.ANY)
            .suppressing(suppressForConcurrentSkipListMap())
            .createTestSuite();
      }
    
      // TODO: IdentityHashMap, AbstractMap
    
      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                CollectionFeature.SERIALIZABLE,
                CollectionSize.ANY)
            .suppressing(suppressForConcurrentSkipListMap())
            .createTestSuite();
      }
    
      // TODO: IdentityHashMap, AbstractMap
    
      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top