- Sort Score
- Num 10 results
- Language All
Results 981 - 990 of 1,801 for equals (0.05 seconds)
-
guava/src/com/google/common/cache/CacheStats.java
} @Override public int hashCode() { return Objects.hash( hitCount, missCount, loadSuccessCount, loadExceptionCount, totalLoadTime, evictionCount); } @Override public boolean equals(@Nullable Object object) { if (object instanceof CacheStats) { CacheStats other = (CacheStats) object; return hitCount == other.hitCount && missCount == other.missCount
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
assertArgumentNotEmpty("path", path); assertArgumentNotEmpty("encoding", encoding); final URL url = ResourceUtil.getResource(path); if (url.getProtocol().equals("file")) { return readText(URLUtil.toFile(url), encoding); } final InputStream is = URLUtil.openStream(url); try {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
* * <p>Each of the {@code standard} methods uses the map's comparator (or the natural ordering of the * elements, if there is no comparator) to test element equality. As a result, if the comparator is * not consistent with equals, some of the standard implementations may violate the {@code Map} * contract. * * <p>The {@code standard} methods and the collection views they return are not guaranteed to beCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/Config.java
*/ public static boolean getBoolean(final String key, boolean def) { final String b = getProperty(key); if (b != null) { def = b.toLowerCase().equals("true"); } return def; } /** * Retrieve an array of <code>InetAddress</code> created from a propertyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K bytes - Click Count (0) -
docs/en/docs/python-types.md
That is not the same as declaring default values like would be with: ```Python first_name="john", last_name="doe" ``` It's a different thing. We are using colons (`:`), not equals (`=`). And adding type hints normally doesn't change what happens from what would happen without them. But now, imagine you are again in the middle of creating that function, but with type hints.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
StackTraceElement[] elements = e.getStackTrace(); for (int i = 0; i < elements.length; i++) { StackTraceElement element = elements[i]; if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) { return i; } } throw new AssertionError( "Expected element " + clazz + "." + method + " not found in stack trace", e); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
HttpURLConnection.HTTP_PROXY_AUTH -> { nextRequest = route.address.proxyAuthenticator.authenticate(route, response) ?: throw IOException("Failed to authenticate with proxy") if ("close".equals(response.header("Connection"), ignoreCase = true)) { return nextRequest } } else -> { throw IOException("Unexpected response code for CONNECT: ${response.code}")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 19.3K bytes - Click Count (2) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
} @Override protected boolean isTargetPluginVersion(String version) { return "1.0.0".equals(version); } }; List<Artifact> result = testHelper.processRepository(ArtifactType.DATA_STORE, "test-repo/"); assertEquals(1, result.size());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
*/ public static File getBuildDir(final String path) { assertArgumentNotEmpty("path", path); File dir = null; final URL url = getResource(path); if ("file".equals(url.getProtocol())) { final int num = path.split("/").length; dir = new File(getFileName(url)); for (int i = 0; i < num; ++i) { dir = dir.getParentFile(); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 14.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
} /** * Returns the number of elements in the specified iterable that equal the specified object. This * implementation avoids a full iteration when the iterable is a {@link Multiset} or {@link Set}. * * <p><b>Java 8+ users:</b> In most cases, the {@code Stream} equivalent of this method is {@code * stream.filter(element::equals).count()}. If {@code element} might be null, use {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0)