Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 86 for emptyKey (0.05 sec)

  1. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testIntersection_empty() {
        ContiguousSet<Integer> set = ContiguousSet.closed(1, 3);
        ContiguousSet<Integer> emptySet = ContiguousSet.closedOpen(2, 2);
        assertEquals(ImmutableSet.of(), set.intersection(emptySet));
        assertEquals(ImmutableSet.of(), emptySet.intersection(set));
        assertEquals(
            ImmutableSet.of(),
            ContiguousSet.create(Range.closed(-5, -1), integers())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        array[2] = 2;
        assertThat(iia.asList()).containsExactly(0, 1, 3).inOrder();
      }
    
      public void testCopyOf_iterable_notCollection_empty() {
        Iterable<Integer> iterable = iterable(Collections.<Integer>emptySet());
        assertThat(ImmutableIntArray.copyOf(iterable)).isSameInstanceAs(ImmutableIntArray.of());
      }
    
      public void testCopyOf_iterable_notCollection_nonempty() {
        List<Integer> list = Arrays.asList(0, 1, 3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

     */
    class HttpLoggingInterceptor
      @JvmOverloads
      constructor(
        private val logger: Logger = Logger.DEFAULT,
      ) : Interceptor {
        @Volatile private var headersToRedact = emptySet<String>()
    
        @Volatile private var queryParamsNameToRedact = emptySet<String>()
    
        @set:JvmName("level")
        @Volatile
        var level = Level.NONE
    
        enum class Level {
          /** No logs. */
          NONE,
    
          /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

        assertEquals(Integer.MAX_VALUE, getMultiset().size());
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_emptySet() {
        assertFalse(getMultiset().addAll(Collections.<E>emptySet()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_emptyMultiset() {
        assertFalse(getMultiset().addAll(getSubjectGenerator().create()));
        expectUnchanged();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @GwtIncompatible // NavigableSet
      @Override
      ImmutableSortedSet<C> createDescendingSet() {
        return ImmutableSortedSet.emptySet(Ordering.<C>natural().reverse());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        array[2] = 2;
        assertThat(iia.asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testCopyOf_iterable_notCollection_empty() {
        Iterable<Double> iterable = iterable(Collections.<Double>emptySet());
        assertThat(ImmutableDoubleArray.copyOf(iterable)).isSameInstanceAs(ImmutableDoubleArray.of());
      }
    
      public void testCopyOf_iterable_notCollection_nonempty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashingTest.java

      private static final long RANDOM_SEED = 177L;
    
      public void testCombineOrdered_empty() {
        assertThrows(
            IllegalArgumentException.class,
            () -> Hashing.combineOrdered(Collections.<HashCode>emptySet()));
      }
    
      public void testCombineOrdered_differentBitLengths() {
        assertThrows(
            IllegalArgumentException.class,
            () -> {
              HashCode unused =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  8. guava/src/com/google/common/collect/FilteredEntryMultimap.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.unmodifiableList;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      SERIALIZABLE_INCLUDING_VIEWS(SERIALIZABLE),
    
      SUBSET_VIEW,
      DESCENDING_VIEW,
    
      /**
       * For documenting collections that support no optional features, such as {@link
       * java.util.Collections#emptySet}
       */
      NONE;
    
      private final Set<Feature<? super Collection>> implied;
    
      CollectionFeature(Feature<? super Collection>... implied) {
        this.implied = copyToSet(implied);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        array[2] = 2;
        assertThat(iia.asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testCopyOf_iterable_notCollection_empty() {
        Iterable<Double> iterable = iterable(Collections.<Double>emptySet());
        assertThat(ImmutableDoubleArray.copyOf(iterable)).isSameInstanceAs(ImmutableDoubleArray.of());
      }
    
      public void testCopyOf_iterable_notCollection_nonempty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top