Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 193 for PASS (0.71 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      /**
       * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as
       * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures
       * that callers don't pass an {@link Entry} by mistake.
       */
      protected V get(K key) {
        return getMap().get(key);
      }
    
      protected final K k0() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheLoader.java

        return new FunctionToCacheLoader<>(function);
      }
    
      /**
       * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need
       * to create a <i>new</i> supplier just to pass it in here; just subclass {@code CacheLoader} and
       * implement {@link #load load} instead.
       *
       * <p>The returned object is serializable if {@code supplier} is serializable.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ComparisonChain.java

       *
       * <p>This method is declared to accept any 2 {@code Comparable} objects, even if they are not <a
       * href="https://docs.oracle.com/javase/tutorial/collections/interfaces/order.html">mutually
       * comparable</a>. If you pass objects that are not mutually comparable, this method may throw an
       * exception. (The reason for this decision is lost to time, but the reason <i>might</i> be that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 17:28:11 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

       */
      @Deprecated
      public Comparator<? super R> rowComparator() {
        /*
         * requireNonNull is safe because the factories require non-null Comparators, which they pass on
         * to the backing collections.
         */
        return requireNonNull(rowKeySet().comparator());
      }
    
      /**
       * Returns the comparator that orders the columns. With natural ordering, {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharStreams.java

          Java8Compatibility.flip(buf);
          to.append(buf);
          total += buf.remaining();
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
      // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able
      // to reuse buffers, others would be able to size them more appropriately than the constant
      // defaults
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Functions.java

       * Returns the identity function.
       *
       * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often
       * more readable.
       */
      // implementation is "fully variant"; E has become a "pass-through" type
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> Function<E, E> identity() {
        return (Function<E, E>) IdentityFunction.INSTANCE;
      }
    
      // enum singleton pattern
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/eventbus/EventBus.java

     *
     * <ol>
     *   <li>Expose a public method, known as the <i>event subscriber</i>, which accepts a single
     *       argument of the type of event desired;
     *   <li>Mark it with a {@link Subscribe} annotation;
     *   <li>Pass itself to an EventBus instance's {@link #register(Object)} method.
     * </ol>
     *
     * <h2>Posting Events</h2>
     *
     * <p>To post an event, simply provide the event object to the {@link #post(Object)} method. The
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 17 16:01:41 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

        return delegate().apply(key);
      }
    
      @Override
      public void refresh(K key) {
        delegate().refresh(key);
      }
    
      /**
       * A simplified version of {@link ForwardingLoadingCache} where subclasses can pass in an already
       * constructed {@link LoadingCache} as the delegate.
       *
       * @since 10.0
       */
      public abstract static class SimpleForwardingLoadingCache<K, V>
          extends ForwardingLoadingCache<K, V> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                    sch.setMaximumCompressionRatio(maxCompressionRatio);
                    sch.setOutputThreshold(maxUncompressionSize);
    
                    //pass self to handle embedded documents if
                    //the caller hasn't specified one.
                    if (context.get(EmbeddedDocumentExtractor.class) == null) {
                        final Parser p = context.get(Parser.class);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * inputs for exceptions *if* we're collecting values. If we're not, then the listener doesn't
           * need access to the futures again, so we can just pass `null`.
           *
           * TODO(b/112550045): Allocating a single, cheaper listener is (I think) only an optimization.
           * If we make some other optimizations, this one will no longer be necessary. The optimization
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top