Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,186 for equals (0.04 seconds)

  1. android/guava/src/com/google/common/collect/AbstractMapEntry.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      public boolean equals(@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;
      }
    
      @Override
      public int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationOS().equals(null));
    
            new ActivationOS().equals(new ActivationOS());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationOS thing = new ActivationOS();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new PluginConfiguration().equals(null));
    
            new PluginConfiguration().equals(new PluginConfiguration());
        }
    
        @Test
        void testEqualsIdentity() {
            PluginConfiguration thing = new PluginConfiguration();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ReportPlugin().equals(null));
    
            new ReportPlugin().equals(new ReportPlugin());
        }
    
        @Test
        void testEqualsIdentity() {
            ReportPlugin thing = new ReportPlugin();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Reporting().equals(null));
    
            new Reporting().equals(new Reporting());
        }
    
        @Test
        void testEqualsIdentity() {
            Reporting thing = new Reporting();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/ArchetypeGraph.java

       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals(...)}
       *       expression involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
       *   <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
       *       behavior is undefined
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                            && Objects.equals(extension, that.extension)
                            && Objects.equals(type, that.type)
                            && Objects.equals(coordinateString, that.coordinateString)
                            && Objects.equals(scope, that.scope)
                            && Objects.equals(exclusions, that.exclusions);
                }
    
                @Override
                public int hashCode() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

            val parts = header.split(':', limit = 2)
            if ("Content-Type".equals(parts[0], ignoreCase = true)) {
              return@let parts[1].trim()
            }
          }
          return@let null
        } ?: "application/x-www-form-urlencoded"
    
      return mimeType.toMediaTypeOrNull()
    }
    
    private fun isSpecialHeader(s: String): Boolean = s.equals("Content-Type", ignoreCase = true)
    
    fun Main.commonRun() {
      client = createClient()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                    currentList = null;
                    if (currentItem != null) {
                        currentItem = null;
                        nodes.pop();
                    }
                    nodes.pop();
                }
                if (element.equals("dt")) {
                    nodes.pop();
                }
                if (element.equals("dd")) {
                    nodes.pop();
                }
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        && extension.equals(that.extension)
                        && version.equals(that.version)
                        && context.equals(that.context)
                        && localRepo.equals(that.localRepo)
                        && Objects.equals(workspace, that.workspace)
                        && repositories.equals(that.repositories);
            }
    
            @Override
            public int hashCode() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
Back to Top