Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 2,470 for instance2 (0.97 sec)

  1. mockwebserver-junit4/README.md

    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance
    will be shut down automatically after the test runs.
    
    For Kotlin, the `@JvmField` annotation is also necessary:
    
    ```
    @JvmField @Rule val serverRule = MockWebServerRule()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 706 bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                TransportException exception = new TransportException("Test");
    
                // Verify the exception hierarchy
                assertTrue(exception instanceof IOException);
                assertTrue(exception instanceof Exception);
                assertTrue(exception instanceof Throwable);
            }
    
            @Test
            @DisplayName("Should preserve message through exception chain")
            void testMessagePreservation() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

      public void testGetRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertTrue(multimap.get("foo") instanceof RandomAccess);
        assertTrue(multimap.get("bar") instanceof RandomAccess);
      }
    
      /** Confirm that removeAll() returns a List implementing RandomAccess. */
      public void testRemoveAllRandomAccess() {
        Multimap<String, Integer> multimap = create();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/EnumHashBiMap.java

    import java.util.EnumMap;
    import java.util.HashMap;
    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@code BiMap} backed by an {@code EnumMap} instance for keys-to-values, and a {@code HashMap}
     * instance for values-to-keys. Null keys are not permitted, but null values are. An {@code
     * EnumHashBiMap} and its inverse are both serializable.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                childUrlRuleMap.put(tagName, attrName);
            }
        }
    
        /**
         * Gets the XPath API instance for this thread.
         *
         * @return the XPath API instance
         */
        protected XPathAPI getXPathAPI() {
            XPathAPI cachedXPathAPI = xpathAPI.get();
            if (cachedXPathAPI == null) {
                cachedXPathAPI = new XPathAPI();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

                Object data = requestTrace.getData();
                if (data instanceof DependencyRequest request) {
                    return "dependency resolution for " + request;
                } else if (data instanceof CollectRequest request) {
                    return "dependency collection for " + request;
                } else if (data instanceof CollectStepData stepData) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. build-logic/jvm/src/main/kotlin/gradlebuild.jvm-compile.gradle.kts

     * limitations under the License.
     */
    
    plugins {
        id("java-base")
    }
    
    // Creates the `jvmCompile` extension, which is a container for JvmCompilation instances.
    // JvmCompilation instances control the way each source set is compiled -- most importantly,
    // it controls the JVM version of the compilation. This allows each source set within a project
    // to compile to different JVM versions.
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 24 13:46:12 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/UploadForm.java

     */
    public class UploadForm {
    
        /**
         * The dictionary ID that identifies which protected words dictionary configuration to update.
         * This ID corresponds to a specific protected words dictionary instance in the system.
         */
        @Required
        public String dictId;
    
        /**
         * The multipart file containing the protected words to be uploaded.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    final class EmptyImmutableListMultimap extends ImmutableListMultimap<Object, Object> {
      static final EmptyImmutableListMultimap INSTANCE = new EmptyImmutableListMultimap();
    
      private EmptyImmutableListMultimap() {
        super(ImmutableMap.of(), 0);
      }
    
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/ClassIterator.java

            return () -> new ClassIterator(clazz, includeObject);
        }
    
        /**
         * Constructs an instance.
         *
         * @param clazz
         *            the class (must not be {@literal null})
         */
        public ClassIterator(final Class<?> clazz) {
            this(clazz, true);
        }
    
        /**
         * Constructs an instance.
         *
         * @param clazz the class (must not be {@literal null})
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top