Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for Producers (0.21 sec)

  1. android/guava/src/com/google/common/reflect/ClassPath.java

         * such classes, this method always returns an empty string. But under some version of Java,
         * {@code class.getPackage().getName()} produces a {@code NullPointerException} because {@code
         * class.getPackage()} returns {@code null}.
         */
        public String getPackageName() {
          return Reflection.getPackageName(className);
        }
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/base/Splitter.java

     * splitter can extract adjacent substrings of a given {@linkplain #fixedLength fixed length}.
     *
     * <p>For example, this expression:
     *
     * <pre>{@code
     * Splitter.on(',').split("foo,bar,qux")
     * }</pre>
     *
     * ... produces an {@code Iterable} containing {@code "foo"}, {@code "bar"} and {@code "qux"}, in
     * that order.
     *
     * <p>By default, {@code Splitter}'s behavior is simplistic and unassuming. The following
     * expression:
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeToken.java

       * invariants:
       *
       * <ol>
       *   <li>{@code canonicalize(t)} always produces the equal result for equivalent types. For
       *       example both {@code Enum<?>} and {@code Enum<? extends Enum<?>>} canonicalize to {@code
       *       Enum<? extends Enum<E>}.
       *   <li>{@code canonicalize(t)} produces a "literal" supertype of t. For example: {@code Enum<?
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

       *     keyFunction} on each value in the input collection to that value
       * @throws NullPointerException if any element of {@code values} is {@code null}, or if {@code
       *     keyFunction} produces {@code null} for any key
       */
      public static <K, V> ImmutableListMultimap<K, V> index(
          Iterable<V> values, Function<? super V, K> keyFunction) {
        return index(values.iterator(), keyFunction);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/QueuesTest.java

          assertEquals(0, Queues.drain(q, ImmutableList.of(), 1, 10, MILLISECONDS));
    
          Producer producer = new Producer(q, 1);
          // producing one, will ask for two
          Future<?> producerThread = threadPool.submit(producer);
          producer.beganProducing.await();
    
          // make sure we time out
          Stopwatch timer = Stopwatch.createStarted();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/CharMatcher.java

       * for matchers that only match a few characters, and so on. In the worst-case scenario, it
       * constructs an eight-kilobyte bit array and queries that. In many situations this produces a
       * matcher which is faster to query than the original.
       */
      @GwtIncompatible // SmallCharMatcher
      CharMatcher precomputedInternal() {
        final BitSet table = new BitSet();
        setBits(table);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

       *     in this fluent iterable to that value
       * @throws IllegalArgumentException if {@code keyFunction} produces the same key for more than one
       *     value in this fluent iterable
       * @throws NullPointerException if any element of this iterable is {@code null}, or if {@code
       *     keyFunction} produces {@code null} for any key
       * @since 14.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

                    MapFeature.GENERAL_PURPOSE)
                /*
                 * StandardDescendingMap uses lowerEntry(), and TreeMap.lowerEntry() deliberately
                 * produces immutable entries.
                 *
                 * TODO(cpovirk): Consider making StandardDescendingMap return a ForwardingEntry that
                 * supports setValue().
                 */
                .suppressing(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

       *     in the input collection to that value
       * @throws IllegalArgumentException if {@code keyFunction} produces the same key for more than one
       *     value in the input collection
       * @throws NullPointerException if any element of {@code values} is {@code null}, or if {@code
       *     keyFunction} produces {@code null} for any value
       */
      @CanIgnoreReturnValue
      public static <K, V> ImmutableMap<K, V> uniqueIndex(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSet.java

       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings({"unchecked"}) // fully variant implementation (never actually produces any Es)
      public static <E> ImmutableSet<E> of() {
        return (ImmutableSet<E>) RegularImmutableSet.EMPTY;
      }
    
      /**
       * Returns an immutable set containing {@code element}. Preferred over {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top