Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 134 for emptyGet (0.2 sec)

  1. 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);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

          iterable.iterator();
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testFrom_empty() {
        Iterable<String> iterable = MinimalIterable.from(Collections.<String>emptySet());
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        try {
          iterator.next();
          fail();
        } catch (NoSuchElementException expected) {
        }
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.8K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirNoClassifiersScope.kt

    internal class FirNoClassifiersScope(
        private val delegate: FirContainingNamesAwareScope,
    ) : FirDelegatingContainingNamesAwareScope(delegate) {
        override fun getClassifierNames(): Set<Name> = emptySet()
    
        override fun processClassifiersByNameWithSubstitution(name: Name, processor: (FirClassifierSymbol<*>, ConeSubstitutor) -> Unit) {
        }
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 937 bytes
    - Viewed (0)
  4. 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,
    
          /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                throws LifecycleExecutionException {
            if (scopesToCollect == null) {
                scopesToCollect = Collections.emptySet();
            }
            if (scopesToResolve == null) {
                scopesToResolve = Collections.emptySet();
            }
    
            if (scopesToCollect.isEmpty() && scopesToResolve.isEmpty()) {
                return new SetWithResolutionResult(null, new LinkedHashSet<>());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/annotations/KtFe10AnnotationsList.kt

                }
            }
        }
    
        companion object {
            fun create(
                fe10Annotations: Annotations,
                analysisContext: Fe10AnalysisContext,
                ignoreAnnotations: Set<ClassId> = emptySet(),
            ): KtAnnotationsList {
                return if (!fe10Annotations.isEmpty()) {
                    KtFe10AnnotationsList(fe10Annotations, ignoreAnnotations, analysisContext)
                } else {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. 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())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  8. android/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())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

                    }
                }
                collect = scopesToCollect == null
                        ? Collections.emptySet()
                        : Collections.unmodifiableSet(new HashSet<>(scopesToCollect));
                resolve = scopesToResolve == null
                        ? Collections.emptySet()
                        : Collections.unmodifiableSet(new HashSet<>(scopesToResolve));
                this.aggregating = aggregating;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

       * backing multiset.
       */
      ENTRIES_ARE_VIEWS;
    
      @Override
      public Set<Feature<? super Multiset>> getImpliedFeatures() {
        return Collections.emptySet();
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        public abstract MultisetFeature[] value() default {};
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top