- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,801 for equals (0.09 seconds)
-
compat/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())Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 11.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
return method.getReplacedAccessors().stream() .anyMatch(replacedAccessor -> replacedAccessor.getName().equals(isGetterName) && replacedAccessor.getDescriptor().equals("()Z")); } return false; } private static boolean isOldMethod(JApiMethod jApiMethod, Map<AccessorKey, ReplacedAccessor> upgradedMethods, Pattern pattern) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 9.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
@Override public Spliterator.OfDouble spliterator() { return parent.spliterator(); } @Override public boolean equals(@Nullable Object object) { if (object instanceof AsList) { AsList that = (AsList) object; return this.parent.equals(that.parent); } // We could delegate to super now but it would still box too much if (!(object instanceof List)) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
assertThat(Booleans.asList(EMPTY).equals(ImmutableList.of())).isTrue(); assertThat(Booleans.asList(ARRAY_FALSE).equals(Booleans.asList(ARRAY_FALSE))).isTrue(); @SuppressWarnings("EqualsIncompatibleType") boolean listEqualsArray = Booleans.asList(ARRAY_FALSE).equals(ARRAY_FALSE); assertThat(listEqualsArray).isFalse(); assertThat(Booleans.asList(ARRAY_FALSE).equals(null)).isFalse();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 25.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
if ("always".equals(styleColor) || "yes".equals(styleColor) || "force".equals(styleColor)) { context.coloredOutput = true; } else if ("never".equals(styleColor) || "no".equals(styleColor) || "none".equals(styleColor)) { context.coloredOutput = false; } else if (!"auto".equals(styleColor) && !"tty".equals(styleColor) && !"if-tty".equals(styleColor)) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
private static final long serialVersionUID = 1L; @Override public String getOrDefault(final String key, final String defaultValue) { if ("rag.chat.history.assistant.content".equals(key)) { return "full"; } return defaultValue; } }); final ChatSession session = new ChatSession();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 40.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
} @Override public int hashCode() { return identity().hashCode(); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof DummyHandler) { DummyHandler that = (DummyHandler) obj; return identity().equals(that.identity()); } else { return false; } } private DummyProxy identity() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 22:10:29 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
* signed. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link * java.util.Arrays#equals(byte[], byte[])}. * * @since 2.0 */ public static Comparator<byte[]> lexicographicalComparator() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java
assertTrue("An Object should be equal to itself.", collection.equals(collection)); } // Comparisons to null *are* defined. @SuppressWarnings("UndefinedEquals") public void testEquals_null() { // noinspection ObjectEqualsNull assertFalse("An object should not be equal to null.", collection.equals(null)); } // A collection should essentially never be equal to a non-collection.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 2.1K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java
class FileModelSourceTest { /** * Test of equals method, of class FileModelSource. */ @Test void testEquals() throws Exception { File tempFile = createTempFile("pomTest"); FileModelSource instance = new FileModelSource(tempFile); assertFalse(instance.equals(null), "Expected " + instance + " to not equal " + null); assertFalse(instance.equals(new Object()));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.6K bytes - Click Count (0)