- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 1,801 for equals (0.17 seconds)
-
android/guava/src/com/google/common/collect/TreeMultiset.java
* equivalence of instances. * * <p><b>Warning:</b> The comparison must be <i>consistent with equals</i> as explained by the * {@link Comparable} class specification. Otherwise, the resulting multiset will violate the {@link * java.util.Collection} contract, which is specified in terms of {@link Object#equals}. * * <p>See the Guava User Guide article on <a href=
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
for (final String validPath : ComponentUtil.getVirtualHostHelper().getVirtualHostPaths()) { if (path.equals(validPath)) { return true; } } // Also allow "/" as a valid path (used in loadJspFileNameItems for blank keys) return "/".equals(path); } // ===================================================================================
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 20.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} catch (UnsupportedOperationException e) { return; } // Explicitly call `equals`; `assertEquals` might return fast assertTrue(map.equals(map)); assertTrue(makePopulatedMap().equals(map)); assertFalse(map.equals(emptyMap())); // no-inspection ObjectEqualsNull assertFalse(map.equals(null)); } public void testEqualsForLargerMap() { if (!supportsPut) { return;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 43.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
this.canonical = urlStr.replace("..", "").replace(".", ""); } @Override public String getName() { if (path == null || path.isEmpty() || path.equals("/")) { return host + "/"; // mimic the JVM behaviour for root or server } if (path.endsWith("/")) { return path.substring(0, path.length()); // keep trailing slash
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* lesser. For example, {@code [] < [false] < [false, true] < [true]}. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link Arrays#equals(boolean[], * boolean[])}. * * @since 2.0 */ public static Comparator<boolean[]> lexicographicalComparator() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
* @param value the value to check * @return true if the value is an occurrence modifier, false otherwise */ protected boolean isOccurrence(final String value) { return "allintitle".equals(value) || "allinurl".equals(value); } /** * Escapes specific characters in a query string. * Replaces each specified character with its escaped version (prefixed with backslash). *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/EncodableTest.java
// Assert: reported written bytes matches size() and requested len. assertEquals(len, enc.size(), "size() must equal provided length"); assertEquals(len, written, "encode() must return number of bytes written"); // Assert: copied region equals the source slice. for (int i = 0; i < len; i++) { assertEquals(src[off + i], dst[dstIndex + i], "Byte mismatch at " + i); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/CaseFormat.java
return targetFormat.to(sourceFormat, s); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof StringConverter) { StringConverter that = (StringConverter) obj; return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat); } return false; } @Override public int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Dec 03 18:46:33 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Interners.java
@Override public int hashCode() { return interner.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other instanceof InternerFunction) { InternerFunction<?> that = (InternerFunction<?>) other; return interner.equals(that.interner); } return false; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6K bytes - Click Count (0)