Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 2,123 for instanceof (0.22 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        assertThat(client.proxySelector)
          .isInstanceOf(NullProxySelector::class.java)
        client =
          OkHttpClient
            .Builder()
            .proxySelector(FakeProxySelector())
            .build()
        assertThat(client.proxy).isNull()
        assertThat(client.proxySelector)
          .isInstanceOf(FakeProxySelector::class.java)
      }
    
      @Test fun sharesRouteDatabase() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 13.4K bytes
    - Click Count (1)
  2. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

        this(ArrayBasedEscaperMap.create(replacementMap), safeMin, safeMax);
      }
    
      /**
       * Creates a new ArrayBasedCharEscaper instance with the given replacement map and specified safe
       * range. If {@code safeMax < safeMin} then no characters are considered safe. This initializer is
       * useful when explicit instances of ArrayBasedEscaperMap are used to allow the sharing of large
       * replacement mappings.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

    import org.apache.maven.model.validation.ModelValidator;
    
    /**
     * A factory to create model builder instances when no dependency injection is available. Note: This class is
     * only meant as a utility for developers that want to employ the model builder outside of the Maven build system, Maven
     * plugins should always acquire model builder instances via dependency injection. Developers might want to subclass
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            // Decode into first instance
            FileStandardInfo firstInstance = new FileStandardInfo();
            firstInstance.decode(originalBuffer, 0, originalBuffer.length);
    
            // Encode from first instance
            byte[] encodedBuffer = new byte[22];
            firstInstance.encode(encodedBuffer, 0);
    
            // Decode into second instance
            FileStandardInfo secondInstance = new FileStandardInfo();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

     * and extension, and it is stored in a repository for dependency management and build purposes.
     *
     * <p>Each {@code Artifact} instance is basically an exact pointer to a file in a Maven repository.
     * {@code Artifact} instances are created when <dfn>resolving</dfn> {@link ArtifactCoordinates} instances.
     * Resolving is the process that selects a {@linkplain #getVersion() particular version}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/SerializableTester.java

       * java.io.Serializable} instance, and is thus declared an {@code Object}. For example, it might
       * be declared as a {@code List}.
       *
       * <p>Note also that serialization is not in general required to return an object that is
       * {@linkplain Object#equals equal} to the original, nor is it required to return even an object
       * of the same class. For example, if sublists of {@code MyList} instances were serializable,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  7. mockwebserver/README.md

      assertEquals("/v1/chat/messages/3", request3.getUrl().encodedPath());
    
      // Shut down the server. Instances cannot be reused.
      server.close();
    }
    ```
    
    ### Kotlin
    ```kotlin
    fun test() {
      // Create a MockWebServer. These are lean enough that you can create a new
      // instance for every unit test.
      val server = MockWebServer()
    
      // Schedule some responses.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/dict/synonym/SynonymCreator.java

    import org.codelibs.fess.dict.DictionaryItem;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * A dictionary creator for synonym files.
     * This class is responsible for creating {@link SynonymFile} instances
     * from files that match the pattern "synonym.*\\.txt".
     */
    public class SynonymCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(SynonymCreator.class);
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/collection/Maps.java

    import java.util.WeakHashMap;
    import java.util.concurrent.ConcurrentHashMap;
    
    /**
     * Utility class for easily creating and setting values in {@link Map} instances.
     * <p>
     * By statically importing this class, you can easily initialize {@literal Map} instances as follows:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.Maps.*;
     *
     * Map&lt;String, Integer&gt; map = map("a", 1).$("b", 2).$("c", 3).$();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsCreator.java

    import org.codelibs.fess.dict.DictionaryItem;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * A dictionary creator for stopwords files.
     * This class is responsible for creating {@link StopwordsFile} instances
     * from files that match the pattern "stopwords.*\\.txt".
     */
    public class StopwordsCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(StopwordsCreator.class);
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top