Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 176 for INSTANCES (0.07 seconds)

  1. android/guava/src/com/google/common/collect/Interners.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Contains static methods pertaining to instances of {@link Interner}.
     *
     * @author Kevin Bourrillion
     * @since 3.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Interners {
      private Interners() {}
    
      /**
       * Builder for {@link Interner} instances.
       *
       * @since 21.0
       */
      public static class InternerBuilder {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      private static void assertFreshInstance(Class<?> type, int instances) {
        assertFreshInstance(TypeToken.of(type), instances);
      }
    
      private static void assertFreshInstance(TypeToken<?> type, int instances) {
        FreshValueGenerator generator = new FreshValueGenerator();
        EqualsTester tester = new EqualsTester();
        for (int i = 0; i < instances; i++) {
          tester.addEqualityGroup(generator.generateFresh(type));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            assertTrue(crawlerEngineClient instanceof org.codelibs.fess.crawler.client.FesenClient);
        }
    
        // Test multiple instances
        @Test
        public void test_multipleInstances() {
            // Test that multiple instances can be created independently
            CrawlerEngineClient client1 = new CrawlerEngineClient();
            CrawlerEngineClient client2 = new CrawlerEngineClient();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      private static void assertFreshInstance(Class<?> type, int instances) {
        assertFreshInstance(TypeToken.of(type), instances);
      }
    
      private static void assertFreshInstance(TypeToken<?> type, int instances) {
        FreshValueGenerator generator = new FreshValueGenerator();
        EqualsTester tester = new EqualsTester();
        for (int i = 0; i < instances; i++) {
          tester.addEqualityGroup(generator.generateFresh(type));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 18.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Interners.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Contains static methods pertaining to instances of {@link Interner}.
     *
     * @author Kevin Bourrillion
     * @since 3.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Interners {
      private Interners() {}
    
      /**
       * Builder for {@link Interner} instances.
       *
       * @since 21.0
       */
      public static class InternerBuilder {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

            }
        }
    
        /**
         * Returns a list of currently active instances based on non-expired heartbeat documents.
         *
         * @return the list of active instances.
         */
        public List<InstanceInfo> getActiveInstances() {
            final List<InstanceInfo> instances = new ArrayList<>();
            final long now = System.currentTimeMillis();
            final String query = toJson(Map.of( //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

        @Test
        public void test_instanceCreation() {
            // Test that multiple instances can be created independently
            FessJsonResourceProvider provider1 = new FessJsonResourceProvider();
            FessJsonResourceProvider provider2 = new FessJsonResourceProvider();
    
            assertNotSame(provider1, provider2);
    
            // Both instances should have the same behavior
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/CharSource.java

     * CharSource} is not an open, stateful stream of characters that can be read and closed. Instead,
     * it is an immutable <i>supplier</i> of {@code Reader} instances.
     *
     * <p>{@code CharSource} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a reader:</b> These methods should return a <i>new</i>, independent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      private <T> T pickInstance(T[] instances, T defaultValue) {
        return pickInstance(Arrays.asList(instances), defaultValue);
      }
    
      private <T> T pickInstance(Collection<T> instances, T defaultValue) {
        if (instances.isEmpty()) {
          return defaultValue;
        }
        // generateInt() is 1-based.
        return Iterables.get(instances, (generateInt() - 1) % instances.size());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
Back to Top