Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 97 for emptyKey (0.05 seconds)

  1. android/guava/src/com/google/common/base/Absent.java

      }
    
      @Override
      public @Nullable T orNull() {
        return null;
      }
    
      @Override
      public Set<T> asSet() {
        return Collections.emptySet();
      }
    
      @Override
      public <V> Optional<V> transform(Function<? super T, V> function) {
        checkNotNull(function);
        return Optional.absent();
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

          return this;
        } else if (newFromIndex < newToIndex) {
          return new RegularImmutableSortedSet<>(
              elements.subList(newFromIndex, newToIndex), comparator);
        } else {
          return emptySet(comparator);
        }
      }
    
      @Override
      int indexOf(@Nullable Object target) {
        if (target == null) {
          return -1;
        }
        int position;
        try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. 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())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

        assertThrows(IllegalStateException.class, () -> iterable.iterator());
      }
    
      public void testFrom_empty() {
        Iterable<String> iterable = MinimalIterable.from(Collections.<String>emptySet());
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, () -> iterator.next());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    package com.google.common.collect.testing.google;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static java.util.Collections.emptySet;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Multiset.Entry;
    import com.google.common.collect.Multisets;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.BoundType;
    import com.google.common.collect.ImmutableList;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. 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,
    
          /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. 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());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

                val rootVariant = rootComponent.variants.find { it.displayName == runtimeClasspath.name }
                rootVariant?.let { computeExternalDependenciesNotAccessibleFromProjectDependencies(rootComponent, it) } ?: emptySet()
            }.get()
        }
        val classpathManifest = tasks.register("classpathManifest", ClasspathManifest::class) {
            this.projectDependencies.from(runtimeClasspath.incoming.artifactView {
                componentFilter {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri May 16 18:26:52 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        array[2] = 2;
        assertThat(iia.asList()).containsExactly(0L, 1L, 3L).inOrder();
      }
    
      public void testCopyOf_iterable_notCollection_empty() {
        Iterable<Long> iterable = iterable(Collections.<Long>emptySet());
        assertThat(ImmutableLongArray.copyOf(iterable)).isSameInstanceAs(ImmutableLongArray.of());
      }
    
      public void testCopyOf_iterable_notCollection_nonempty() {
        List<Long> list = Arrays.asList(0L, 1L, 3L);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.5K bytes
    - Click Count (0)
Back to Top