Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 1,875 for Objects (0.06 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java

    package org.apache.maven.cling.invoker.logging;
    
    import java.io.OutputStream;
    import java.io.PrintStream;
    import java.io.PrintWriter;
    import java.util.Objects;
    
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.Logger;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * System {@link Logger}. Uses provided {@link PrintStream}s or {@link System#err} ones as fallback.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         */
        final class Key<T> {
    
            private final Class<T> type;
            private final Object id;
    
            private Key(Class<T> type, Object id) {
                this.type = type;
                this.id = id;
            }
    
            public Class<T> type() {
                return type;
            }
    
            @Override
            public boolean equals(Object o) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

       */
      protected boolean standardEquals(@Nullable Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equals(this.getKey(), that.getKey())
              && Objects.equals(this.getValue(), that.getValue());
        }
        return false;
      }
    
      /**
       * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     * Simple test to verify that Plugin objects returned by MavenProject.getPlugin() are connected to the project model.
     * This test specifically verifies the fix for the <a href="https://github.com/apache/maven/pull/2530">issue</a> where
     * getPlugin() was returning disconnected Plugin objects.
     */
    class PluginConnectionSimpleTest {
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 04 12:50:13 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
        // this gets the stripes with #getAt(index)
        for (int i = 0; i < striped.size(); i++) {
          Object object = striped.getAt(i);
          assertThat(object).isNotNull();
          assertSame(object, striped.getAt(i)); // idempotent
          observed.add(object);
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
        // this gets the stripes with #getAt(index)
        for (int i = 0; i < striped.size(); i++) {
          Object object = striped.getAt(i);
          assertThat(object).isNotNull();
          assertSame(object, striped.getAt(i)); // idempotent
          observed.add(object);
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      public boolean containsKey(@Nullable Object key) {
        return indexOf(key) != -1;
      }
    
      public int get(@Nullable Object key) {
        int index = indexOf(key);
        return (index == -1) ? 0 : values[index];
      }
    
      @CanIgnoreReturnValue
      public int remove(@Nullable Object key) {
        return remove(key, smearedHash(key));
      }
    
      private int remove(@Nullable Object key, int hash) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

                }
    
                @Override
                public boolean equals(Object o) {
                    return this == o
                            || o instanceof XmlNode that
                                    && Objects.equals(this.name, that.name())
                                    && Objects.equals(this.value, that.value())
                                    && Objects.equals(this.attributes, that.attributes())
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  9. internal/logger/logger.go

    	}
    
    	// Get the cause for the Error
    	deploymentID := req.DeploymentID
    	if req.DeploymentID == "" {
    		deploymentID = xhttp.GlobalDeploymentID
    	}
    
    	objects := make([]log.ObjectVersion, 0, len(req.Objects))
    	for _, ov := range req.Objects {
    		objects = append(objects, log.ObjectVersion{
    			ObjectName: ov.ObjectName,
    			VersionID:  ov.VersionID,
    		})
    	}
    
    	entry := log.Entry{
    		DeploymentID: deploymentID,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java

     * under the License.
     */
    package org.apache.maven.project;
    
    import java.time.Instant;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import java.util.Objects;
    import java.util.Properties;
    
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelBuildingRequest;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top