- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 1,219 for Examples (0.05 sec)
-
guava/src/com/google/common/collect/Multimap.java
* So, using the multimap shown above as an example, the {@link #size} is {@code 3}, not {@code 2}, * and the {@link #values} collection is {@code [1, 2, 3]}, not {@code [[1, 2], [3]]}. For those * times when the first style is more useful, use the multimap's {@link #asMap} view (or create a * {@code Map<K, Collection<V>>} in the first place). * * <h3>Example</h3> * * <p>The following code: * * {@snippet :
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* RuntimeException}. * * <p>Here's an example that tests a {@code finalize} method: * * {@snippet : * final CountDownLatch latch = new CountDownLatch(1); * Object x = new MyClass() { * ... * protected void finalize() { latch.countDown(); ... } * }; * x = null; // Hint to the JIT that x is stack-unreachable * GcFinalization.await(latch); * } * * <p>Here's an example that uses a user-defined finalization predicate:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
} // Test updateDocument with boost matcher public void test_updateDocument_withBoostMatcher() { final Map<String, Object> doc = new HashMap<>(); doc.put("url", "http://example.com"); final DocBoostMatcher matcher = new DocBoostMatcher() { @Override public boolean match(Map<String, Object> map) { return true; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
* with {@link #where} and types are resolved using {@link #resolveType}. * * <p>Note that usually type mappings are already implied by the static type hierarchy (for example, * the {@code E} type variable declared by class {@code List} naturally maps to {@code String} in * the context of {@code class MyStringList implements List<String>}). In such case, prefer to use
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
* @author Steve McKay * @since 9.0 */ @GwtIncompatible @J2ktIncompatible public final class Enums { private Enums() {} /** * Returns the {@link Field} in which {@code enumValue} is defined. For example, to get the {@code * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}. * * @since 12.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
} @Test void constructor_shouldThrowSmbExceptionOnOpenFailure() throws IOException { // Arrange int access = 1; int rid = 100; int errorCode = 0xC0000022; // Example error code // Mock the behavior of sendrecv for MsrpcSamrOpenAlias to simulate failure doAnswer(invocation -> { MsrpcSamrOpenAlias rpc = invocation.getArgument(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
docs/minio-limits.md
## Object name restrictions on MinIO - Object name restrictions on MinIO are governed by OS and filesystem limitations. For example object names that contain characters `^*|\/&";` are unsupported on Windows platform or any other file systems that do not support filenames with special characters.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
You could also use it to generate code automatically, for clients that communicate with your API. For example, frontend, mobile or IoT applications. ## Recap, step by step { #recap-step-by-step } ### Step 1: import `FastAPI` { #step-1-import-fastapi } {* ../../docs_src/first_steps/tutorial001.py hl[1] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 11K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Type.java
* * <p>It is nevertheless common to specify two or more types of path. For example, * a Java library may be compatible with either the class path or the module path, * and the user may have provided no instruction about which type to use. In such * case, the plugin may apply rules for choosing a path. See for example * {@link JavaPathType#CLASSES} and {@link JavaPathType#MODULES}.</p> */ @Nonnull
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
* If the specified Jar file has the extension <code>.war</code>, only entries whose path starts with the prefix <code>WEB-INF/classes</code> are traversed. * The handler receives the entry name excluding the prefix. For example, if the Jar file contains <code>/WEB-INF/classes/ccc/ddd/Eee.class</code>, * the handler receives the package name <code>ccc.ddd</code> and the class name <code>Eee</code>. * </p> *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.5K bytes - Viewed (0)