Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 387 for INSTANCES (0.03 sec)

  1. android/guava-tests/test/com/google/common/io/CharSourceTester.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map.Entry;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A generator of {@code TestSuite} instances for testing {@code CharSource} implementations.
     * Generates tests of all methods on a {@code CharSource} given various inputs the source is
     * expected to contain.
     *
     * @author Colin Decker
     */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * features to support (from the enclosing {@link AbstractIteratorTester} instance). Instead of
       * throwing exceptions like {@link NoSuchElementException} at the appropriate times, it throws
       * {@link PermittedMetaException} instances, which wrap a set of all exceptions that the iterator
       * could throw during the invocation of that method. This is necessary because, e.g., a call to
       * {@code iterator().remove()} of an unmodifiable list could throw either {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ValueGraph.java

     * }
     *
     * <p>Instances of {@link ImmutableValueGraph} do not implement {@link MutableValueGraph}
     * (obviously!) and are contractually guaranteed to be unmodifiable and thread-safe.
     *
     * <p>The Guava User Guide has <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#building-graph-instances">more
     * information on (and examples of) building graphs</a>.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ComparisonChain.java

     *
     * <p>The value of this expression will have the same sign as the <i>first nonzero</i> comparison
     * result in the chain, or will be zero if every comparison result was zero.
     *
     * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
     * correctly, calls must be chained as illustrated above.
     *
     * <p>Performance note: Even though the {@code ComparisonChain} caller always invokes its {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TestThread.java

    import junit.framework.AssertionFailedError;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a
     * test with reference to the same "lock-like object", and then their interactions with that object
     * are choreographed via the various methods on this class.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

     *
     * @param <T> the type of instances that the {@code BloomFilter} accepts
     * @author Dimitris Andreou
     * @author Kevin Bourrillion
     * @since 11.0 (thread-safe since 23.0)
     */
    @Beta
    public final class BloomFilter<T extends @Nullable Object> implements Predicate<T>, Serializable {
      /**
       * A strategy to translate T instances, to {@code numHashFunctions} bit indexes.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 19:23:59 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            // Decode into second instance
            FileInternalInfo secondInstance = new FileInternalInfo();
            secondInstance.decode(encodedBuffer, 0, encodedBuffer.length);
    
            // Verify both instances have same values
            assertEquals(firstInstance.getIndexNumber(), secondInstance.getIndexNumber());
            assertEquals(expectedIndexNumber, secondInstance.getIndexNumber());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        void testInstantiation() {
            TestLocking t = new TestLocking();
            assertNotNull(t, "TestLocking instance should not be null");
        }
    
        @Test
        @DisplayName("Field values are independent across instances")
        void testIndependentInstances() {
            TestLocking t1 = new TestLocking();
            TestLocking t2 = new TestLocking();
    
            // Set different values
            t1.numThreads = 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableBiMap.java

        checkNonnegative(expectedSize, "expectedSize");
        return new Builder<>(expectedSize);
      }
    
      /**
       * A builder for creating immutable bimap instances, especially {@code public static final} bimaps
       * ("constant bimaps"). Example:
       *
       * {@snippet :
       * static final ImmutableBiMap<String, Integer> WORD_TO_INT =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

       * method returns instances of a different class than {@code factory.get()} does.
       *
       * <p>The multimap is serializable if {@code map}, {@code factory}, the sets generated by {@code
       * factory}, and the multimap contents are all serializable.
       *
       * <p>The multimap is not threadsafe when any concurrent operations update the multimap, even if
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top