Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Derived (0.35 sec)

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

    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of various {@link com.google.common.collect.BiMap}s and derived collections.
     *
     * @author Jared Levy
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public class BiMapGenerators {
      public static class ImmutableBiMapGenerator extends TestStringBiMapGenerator {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SetsTest.java

        verifySortedSetContents(set, SOME_ITERABLE, null);
      }
    
      public void testNewTreeSetFromIterableDerived() {
        Iterable<Derived> iterable = asList(new Derived("foo"), new Derived("bar"));
        TreeSet<Derived> set = Sets.newTreeSet(iterable);
        assertThat(set).containsExactly(new Derived("bar"), new Derived("foo")).inOrder();
      }
    
      public void testNewTreeSetFromIterableNonGeneric() {
        Iterable<LegacyComparable> iterable =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

       * that key.
       *
       * Prior to OkHttp 3.11, this method never returned null if no tag was attached. Instead it
       * returned either this request, or the request upon which this request was derived with
       * [newBuilder].
       *
       * @suppress this method breaks Dokka! https://github.com/Kotlin/dokka/issues/2473
       */
      fun tag(): Any? = tag<Any>()
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

              parentBuilder) {
        // TODO: Once invariant support is added, supply invariants to each of the
        // derived suites, to check that mutations to the derived collections are
        // reflected in the underlying map.
    
        List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of various {@link com.google.common.collect.BiMap}s and derived collections.
     *
     * @author Jared Levy
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public class BiMapGenerators {
      public static class ImmutableBiMapGenerator extends TestStringBiMapGenerator {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of sorted maps and derived collections.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     * @author Hayward Chan
     * @author Chris Povirk
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of sorted maps and derived collections.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     * @author Hayward Chan
     * @author Chris Povirk
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

        return (FluentFuture<V>) Futures.withTimeout(this, timeout, unit, scheduledExecutor);
      }
    
      /**
       * Returns a new {@code Future} whose result is asynchronously derived from the result of this
       * {@code Future}. If the input {@code Future} fails, the returned {@code Future} fails with the
       * same exception (and the function is not invoked).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      /**
       * To avoid infinite recursion, test suites with these marker features won't have derived suites
       * created for them.
       */
      enum NoRecurse implements Feature<Void> {
        SUBMULTISET,
        DESCENDING;
    
        @Override
        public Set<Feature<? super Void>> getImpliedFeatures() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for SimpleGenericBloomFilter and derived BloomFilter views.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
      private static final ThreadLocal<Random> random =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top