Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 387 for INSTANCES (0.05 sec)

  1. guava/src/com/google/common/collect/Comparators.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Optional;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Provides static methods for working with {@link Comparator} instances. For many other helpful
     * comparator utilities, see either {@code Comparator} itself (for Java 8+), or {@code
     * com.google.common.collect.Ordering} (otherwise).
     *
     * <h3>Relationship to {@code Ordering}</h3>
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ServiceManager.java

       * An encapsulation of all of the state that is accessed by the {@linkplain ServiceListener
       * service listeners}. This is extracted into its own object so that {@link ServiceListener} could
       * be made {@code static} and its instances can be safely constructed and added in the {@link
       * ServiceManager} constructor without having to close over the partially constructed {@link
       * ServiceManager} instance (i.e. avoid leaking a pointer to {@code this}).
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Range.java

     * </ul>
     *
     * <h3>Warnings</h3>
     *
     * <ul>
     *   <li>Use immutable value types only, if at all possible. If you must use a mutable type, <b>do
     *       not</b> allow the endpoint instances to mutate after the range is created!
     *   <li>Your value type's comparison method should be {@linkplain Comparable consistent with
     *       equals} if at all possible. Otherwise, be aware that concepts used throughout this
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * An encapsulation of all of the state that is accessed by the {@linkplain ServiceListener
       * service listeners}. This is extracted into its own object so that {@link ServiceListener} could
       * be made {@code static} and its instances can be safely constructed and added in the {@link
       * ServiceManager} constructor without having to close over the partially constructed {@link
       * ServiceManager} instance (i.e. avoid leaking a pointer to {@code this}).
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  5. guava/src/com/google/common/base/Predicates.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Objects;
    import java.util.regex.Pattern;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to {@code Predicate} instances.
     *
     * <p>All methods return serializable predicates as long as they're given serializable parameters.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    /**
     * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll}, and various error cases of the {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll} methods. For tests of the {@link
     * StatsAccumulator#snapshot} method which returns {@link Stats} instances, see {@link StatsTest}.
     *
     * @author Pete Gillin
     */
    @NullUnmarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 36.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            assertEquals(text.toUpperCase(), readings.get(0));
        }
    
        @Test
        public void testMultipleConverterInstances() throws IOException {
            // Test that multiple converter instances work independently
            ReadingConverter converter1 = new TestReadingConverter();
            ReadingConverter converter2 = new TestReadingConverter();
    
            converter1.init();
            converter2.init();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            int n = block.writeAndXWireFormat(buf, 0);
    
            assertTrue(n > 0);
            // Note: In actual implementation, uid is NOT propagated for non-AndX SMBs
            // uid is only set for AndXServerMessageBlock instances (line 167 in AndXServerMessageBlock.java)
            // Only useUnicode is set before the instanceof check (line 149)
            assertEquals(block.useUnicode, next.useUnicode, "useUnicode must be propagated");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            Configuration mockConfig = mock(Configuration.class);
            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
    
            // When - create multiple instances
            Smb2TreeDisconnectRequest req1 = new Smb2TreeDisconnectRequest(mockConfig);
            Smb2TreeDisconnectRequest req2 = new Smb2TreeDisconnectRequest(mockConfig);
    
            // Then - all should have same command
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LoadingCache.java

    /**
     * A semi-persistent mapping from keys to values. Values are automatically loaded by the cache, and
     * are stored in the cache until either evicted or manually invalidated. The common way to build
     * instances is using {@link CacheBuilder}.
     *
     * <p>Implementations of this interface are expected to be thread-safe, and can be safely accessed
     * by multiple concurrent threads.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top