Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,296 for implementations (0.29 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Generates a test suite covering the {@link Map} implementations in the {@link java.util} package.
     * Can be subclassed to specify tests that should be suppressed.
     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

    import static org.junit.Assert.assertTrue;
    
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing directed {@link Graph} implementations defined in this package.
     */
    @NullUnmarked
    public abstract class AbstractStandardDirectedGraphTest extends AbstractGraphTest {
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RangeSet.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A set comprising zero or more {@linkplain Range#isEmpty nonempty}, {@linkplain
     * Range#isConnected(Range) disconnected} ranges of type {@code C}.
     *
     * <p>Implementations that choose to support the {@link #add(Range)} operation are required to
     * ignore empty ranges and coalesce connected ranges. For example:
     *
     * {@snippet :
     * RangeSet<Integer> rangeSet = TreeRangeSet.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          } catch (Throwable e) {
            throw sanityError(classToTest, NULL_TEST_METHOD_NAMES, "nulls test", e);
          }
        }
      }
    
      /**
       * Tests {@code equals()} and {@code hashCode()} implementations for every top-level class in the
       * package, that explicitly implements {@link Object#equals}. For a class {@code C}:
       *
       * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashingTest.java

        assertEquals(Hashing.consistentHash(equivLong, 5555), Hashing.consistentHash(hashCode, 5555));
      }
    
      /**
       * Check a few "golden" values to see that implementations across languages are equivalent.
       *
       */
      public void testConsistentHash_linearCongruentialGeneratorCompatibility() {
        int[] golden100 = {
          0, 55, 62, 8, 45, 59, 86, 97, 82, 59,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing undirected {@link Network} implementations defined in this
     * package.
     */
    @NullUnmarked
    public abstract class AbstractStandardUndirectedNetworkTest extends AbstractNetworkTest {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            assertTrue(delegatingConfig instanceof Configuration, "DelegatingConfiguration should implement Configuration interface");
        }
    
        @Test
        @DisplayName("Delegation should work with different delegate implementations")
        void testWithDifferentDelegates() throws Exception {
            // Given
            BaseConfiguration baseConfig = new BaseConfiguration(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Strings.java

       * values present. This method is also useful in environments such as GWT where {@code
       * String.format} is not available. As an example, method implementations of the {@link
       * Preconditions} class use this formatter, for both of the reasons just discussed.
       *
       * <p><b>Warning:</b> Only the exact two-character placeholder sequence {@code "%s"} is
       * recognized.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

    import java.util.Comparator;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    @NullUnmarked
    public class TypeTokenSubtypeTest extends TestCase {
    
      public void testOwnerTypeSubtypes() throws Exception {
        new OwnerTypeSubtypingTests().testAllDeclarations();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/SourceSinkFactories.java

    import java.util.Arrays;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link SourceSinkFactory} implementations.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class SourceSinkFactories {
    
      private SourceSinkFactories() {}
    
      public static CharSourceFactory stringCharSourceFactory() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top