Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for existent (0.2 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      /*
       * This class is used to serialize all ImmutableSortedSet instances,
       * regardless of implementation type. It captures their "logical contents"
       * only. This is necessary to ensure that the existence of a particular
       * implementation type is an implementation detail.
       */
      @J2ktIncompatible // serialization
      private static class SerializedForm<E> implements Serializable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // contract to guarantee ordering among runnables we'd have to modify the logic here to allow
        // it.
        executeListener(runnable, executor);
      }
    
      /**
       * Runs this execution list, executing all existing pairs in the order they were added. However,
       * note that listeners added after this point may be executed before those previously added, and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

     * common ways to create a {@code ListenableFuture} include instantiating a {@link SettableFuture},
     * submitting a task to a {@link ListeningExecutorService}, and deriving a {@code Future} from an
     * existing one, typically using methods like {@link Futures#transform(ListenableFuture,
     * com.google.common.base.Function, java.util.concurrent.Executor) Futures.transform} and {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        long halfTimeoutNanos = unit.toNanos(timeout) / 2;
        // Disable new tasks from being submitted
        service.shutdown();
        try {
          // Wait for half the duration of the timeout for existing tasks to terminate
          if (!service.awaitTermination(halfTimeoutNanos, TimeUnit.NANOSECONDS)) {
            // Cancel currently executing tasks
            service.shutdownNow();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

        public ImmutableSet<@NonNull E> immutableCopy() {
          return ImmutableSet.copyOf((SetView<@NonNull E>) this);
        }
    
        /**
         * Copies the current contents of this set view into an existing set. This method has equivalent
         * behavior to {@code set.addAll(this)}, assuming that all the sets involved are based on the
         * same notion of equivalence.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Supplier.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the
     * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

     *
     * <p>The common ways to get an instance of {@code Ordering} are:
     *
     * <ul>
     *   <li>Subclass it and implement {@link #compare} instead of implementing {@link Comparator}
     *       directly
     *   <li>Pass a <i>pre-existing</i> {@link Comparator} instance to {@link #from(Comparator)}
     *   <li>Use the natural ordering, {@link Ordering#natural}
     * </ul>
     *
     * <h4>Chaining</h4>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSet.java

       * ImmutableEnumSet/ImmutableSortedSet, regardless of implementation type. It
       * captures their "logical contents" and they are reconstructed using public
       * static factories. This is necessary to ensure that the existence of a
       * particular implementation type is an implementation detail.
       */
      @J2ktIncompatible // serialization
      private static class SerializedForm implements Serializable {
        final Object[] elements;
    
    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)
  9. android/guava/src/com/google/common/collect/Maps.java

       * put()} and {@code putAll()} methods throw an {@link IllegalArgumentException}. Similarly, the
       * map's entries have a {@link Entry#setValue} method that throws an {@link
       * IllegalArgumentException} when the existing key and the provided value don't satisfy the
       * predicate.
       *
       * <p>When methods such as {@code removeAll()} and {@code clear()} are called on the filtered map
    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/base/Function.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing function (say, named {@code function}) in a context where the <i>other
     * type</i> of function is expected, use the method reference {@code function::apply}. A future
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top