Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for useful (9.56 sec)

  1. guava/src/com/google/common/base/package-info.java

     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     *
     * <h2>Contents</h2>
     *
     * The classes in this package that are most commonly useful are:
     *
     * <h3>String utilities</h3>
     *
     * <ul>
     *   <li>{@link Ascii}
     *   <li>{@link CaseFormat}
     *   <li>{@link CharMatcher}
     *   <li>{@link Splitter}
     *   <li>{@link Strings}
     * </ul>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 16:48:06 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/DeadEvent.java

    import com.google.common.base.MoreObjects;
    
    /**
     * Wraps an event that was posted, but which had no subscribers and thus could not be delivered.
     *
     * <p>Registering a DeadEvent subscriber is useful for debugging or logging, as it can detect
     * misconfigurations in a system's event distribution.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    @ElementTypesAreNonnullByDefault
    public class DeadEvent {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/NullnessCasts.java

       * without having to add {@code @SuppressWarnings}, the code can call this method.
       *
       * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is
       * typically useful for {@code return} statements. That leaves the code with two options: Either
       * add the suppression to the whole method (which turns off checking for a large section of code),
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 12 20:58:36 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/PrimitiveSink.java

      PrimitiveSink putUnencodedChars(CharSequence charSequence);
    
      /**
       * Puts a string into this sink using the given charset.
       *
       * <p><b>Warning:</b> This method, which reencodes the input before processing it, is useful only
       * for cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which
       * is faster, produces the same output across Java releases, and processes every {@code char} in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

       *
       * However, once it's a @JsMethod, GWT produces a warning. That's because (a) the *other* purpose
       * of @JsMethod is to make a method *callable* from JavaScript and (b) this method would not be
       * useful to call from vanilla JavaScript because it returns an instance of Class, which can't be
       * converted to a standard JavaScript type. (Contrast to something like String or boolean.) Since
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/Dispatcher.java

      }
    
      /**
       * Returns a dispatcher that queues events that are posted in a single global queue. This behavior
       * matches the original behavior of AsyncEventBus exactly, but is otherwise not especially useful.
       * For async dispatch, an {@linkplain #immediate() immediate} dispatcher should generally be
       * preferable.
       */
      static Dispatcher legacyAsync() {
        return new LegacyAsyncDispatcher();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Booleans.java

        @Override
        public String toString() {
          return toString;
        }
      }
    
      /**
       * Returns a {@code Comparator<Boolean>} that sorts {@code true} before {@code false}.
       *
       * <p>This is particularly useful in Java 8+ in combination with {@code Comparator.comparing},
       * e.g. {@code Comparator.comparing(Foo::hasBar, trueFirst())}.
       *
       * @since 21.0
       */
      public static Comparator<Boolean> trueFirst() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Returns a cache loader that uses {@code function} to load keys, and without supporting either
       * reloading or bulk loading. This is most useful when you can pass a lambda expression. Otherwise
       * it is useful mostly when you already have an existing function instance.
       *
       * <p>The returned object is serializable if {@code function} is serializable.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

      // simple interface to wrap our two implementations.
      interface ExecutionListWrapper {
        void add(Runnable runnable, Executor executor);
    
        void execute();
        /** Returns the underlying implementation, useful for the Footprint benchmark. */
        Object getImpl();
      }
    
      enum Impl {
        NEW {
          @Override
          ExecutionListWrapper newExecutionList() {
            return new ExecutionListWrapper() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

    /**
     * A specification of a {@link CacheBuilder} configuration.
     *
     * <p>{@code CacheBuilderSpec} supports parsing configuration off of a string, which makes it
     * especially useful for command-line configuration of a {@code CacheBuilder}.
     *
     * <p>The string syntax is a series of comma-separated keys or key-value pairs, each corresponding
     * to a {@code CacheBuilder} method.
     *
     * <ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
Back to top