Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 264 for equalTo (0.16 sec)

  1. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    Class<?> matchableClass(Class<?> expectedClass) { if (boolean.class.equals(expectedClass)) return Boolean.class; if (byte.class.equals(expectedClass)) return Byte.class; if (char.class.equals(expectedClass)) return Character.class; if (double.class.equals(expectedClass)) return Double.class; if (float.class.equals(expectedClass)) return Float.class; if (int.class.equals(expectedClass)) return Integer.class; if (long.class.equals(expectedClass)) return Long.class; if (short.class.equals(expectedClass))...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  2. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    itemMatchers - the matchers to apply to items provided by the examined Iterable equalTo public static <T> Matcher<T> equalTo(T operand) Creates a matcher that matches when the examined object is logically equal to the specified operand, as determined by calling the Object.equals(java.lang.Object) method on the examined object. If the specified operand is null then the created matcher will only match if the examined object's equals method returns true when passed a null (which would be a violation of the...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 236.8K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListenerTest.java

                    ReverseTreeRepositoryListener.isLocalRepositoryArtifactOrMissing(session, localRepositoryArtifact),
                    equalTo(true));
            assertThat(
                    ReverseTreeRepositoryListener.isLocalRepositoryArtifactOrMissing(session, nonLocalReposioryArtifact),
                    equalTo(false));
        }
    
        @Test
        void isMissingArtifactTest() {
            File baseDir = new File("local/repository");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar

    public static Matcher anything(String); public static Matcher hasItem(Object); public static Matcher hasItem(Matcher); public static transient Matcher hasItems(Object[]); public static transient Matcher hasItems(Matcher[]); public static Matcher equalTo(Object); public static Matcher any(Class); public static Matcher instanceOf(Class); public static Matcher not(Matcher); public static Matcher not(Object); public static Matcher nullValue(); public static Matcher nullValue(Class); public static Matcher...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 44K bytes
    - Viewed (0)
  5. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

                // 2.0.X == 2-X == 2.0.0.X for any string x
                checkVersionsEqual("2-" + x, "2.0." + x); // previously ordered, now equals
                checkVersionsEqual("2-" + x, "2.0.0." + x); // previously ordered, now equals
                checkVersionsEqual("2.0." + x, "2.0.0." + x); // previously ordered, now equals
            }
        }
    
        @Test
        public void testMng7714() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

            if (Artifact.SCOPE_COMPILE.equals(artifact.getScope())) {
                return compileScope;
            } else if (Artifact.SCOPE_RUNTIME.equals(artifact.getScope())) {
                return runtimeScope;
            } else if (Artifact.SCOPE_TEST.equals(artifact.getScope())) {
                return testScope;
            } else if (Artifact.SCOPE_PROVIDED.equals(artifact.getScope())) {
                return providedScope;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            }
    
            return Objects.equals(a1.getGroupId(), a2.getGroupId())
                    && Objects.equals(a1.getArtifactId(), a2.getArtifactId())
                    && Objects.equals(a1.getType(), a2.getType())
                    && Objects.equals(a1.getVersion(), a2.getVersion())
                    && Objects.equals(a1.getClassifier(), a2.getClassifier())
                    && Objects.equals(a1.getScope(), a2.getScope())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

        }
    
        public boolean checkOutOfDate(Date lastModified) {
            boolean checkForUpdates = false;
    
            if (UPDATE_POLICY_ALWAYS.equals(updatePolicy)) {
                checkForUpdates = true;
            } else if (UPDATE_POLICY_DAILY.equals(updatePolicy)) {
                // Get local midnight boundary
                Calendar cal = Calendar.getInstance();
    
                cal.set(Calendar.HOUR_OF_DAY, 0);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                }
            } else if ("reactorProjects".equals(expression)) {
                value = session.getProjects();
            } else if ("project".equals(expression)) {
                value = project;
            } else if ("executedProject".equals(expression)) {
                value = project.getExecutionProject();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

                }
            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
                if (o == null || getClass() != o.getClass()) {
                    return false;
                }
                DefaultVersion that = (DefaultVersion) o;
                return delegate.equals(that.delegate);
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top