Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,014 for Empty (0.02 seconds)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      /**
       * The freshness level at which the {@link Empty @Empty} annotated method was invoked to generate
       * instance.
       */
      private final Map<Type, Integer> emptyInstanceGenerated = new HashMap<>();
    
      final <T> void addSampleInstances(Class<T> type, Iterable<? extends T> instances) {
        sampleInstances.putAll(checkNotNull(type), checkNotNull(instances));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Streams.java

       * otherwise returns an empty stream.
       */
      public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) {
        return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 21 15:40:45 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        return CollectCollectors.toImmutableRangeSet();
      }
    
      /**
       * Returns an empty immutable range set.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <C extends Comparable> ImmutableRangeSet<C> of() {
        return (ImmutableRangeSet<C>) EMPTY;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

         *
         * @param dataset the dataset to do the calculation on, which must be non-empty, and which will
         *     be arbitrarily reordered by this method call
         * @return the quantile value
         */
        public double computeInPlace(double... dataset) {
          checkArgument(dataset.length > 0, "Cannot calculate quantiles of an empty dataset");
          if (containsNaN(dataset)) {
            return NaN;
          }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

         * This constructor creates an empty problem collector.
         *
         * @param message the detail message
         * @param cause the cause of this exception
         */
        public MavenBuilderException(String message, Throwable cause) {
            super(message, cause);
            problems = ProblemCollector.empty();
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * If a path's last segment is the empty string then the path ends with "/". This class always
     * builds non-empty paths: if the path is omitted it defaults to "/". The default path's segment
     * list is a single empty string: `[""]`.
     *
     * ### Query
     *
     * The query is optional: it can be null, empty, or non-empty. For many HTTP URLs the query string
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 63.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      private static final Map<Integer, Integer> EMPTY = emptyMap();
      private static final Map<Integer, Integer> SINGLETON = singletonMap(1, 2);
    
      public void testMapDifferenceEmptyEmpty() {
        MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY);
        assertTrue(diff.areEqual());
        assertEquals(EMPTY, diff.entriesOnlyOnLeft());
        assertEquals(EMPTY, diff.entriesOnlyOnRight());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 22:56:33 GMT 2025
    - 62.7K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

        @Nonnull
        <T> T lookup(Class<T> type, String name);
    
        /**
         * Performs a lookup for optional typed component.
         *
         * @param type The component type.
         * @return Optional carrying component or empty optional if no such component.
         * @param <T> The component type.
         * @throws LookupException if there is some provisioning related issue.
         */
        @Nonnull
        <T> Optional<T> lookupOptional(Class<T> type);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

            1 * visitor.onEnd()
            0 * visitor._
        }
    
        def javadocTagCanBeEmpty() {
            when:
            lexer.pushText("{@empty}")
            lexer.visit(visitor)
    
            then:
            1 * visitor.onStartJavadocTag('empty')
            1 * visitor.onEndJavadocTag('empty')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
        def ignoresWhitespaceAndEOLCharsBetweenJavadocTagNameAndValue() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        StringSubscriber s2 = new StringSubscriber();
        ObjectSubscriber o1 = new ObjectSubscriber();
    
        Iterator<Subscriber> empty = registry.getSubscribers("");
        assertFalse(empty.hasNext());
    
        empty = registry.getSubscribers("");
    
        registry.register(s1);
        assertFalse(empty.hasNext());
    
        Iterator<Subscriber> one = registry.getSubscribers("");
        assertEquals(s1, one.next().target);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
Back to Top