Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for being (0.18 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

        }
      }
    
      /**
       * Starts a new task on the given executor that switches (deletes and replaces) a file between
       * being a directory and being a symlink. The given {@code file} is the file that should switch
       * between being a directory and being a symlink, while the given {@code target} is the target the
       * symlink should have.
       */
      private static void startDirectorySymlinkSwitching(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       *
       * @throws ClassCastException if the class of the specified element prevents it from being added
       *     to the given queue
       * @throws IllegalArgumentException if some property of the specified element prevents it from
       *     being added to the given queue
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multiset.java

       *
       * <p>This method refines {@link Collection#remove} to further specify that it <b>may not</b>
       * throw an exception in response to {@code element} being null or of the wrong type.
       *
       * <p>To both remove the element and obtain the previous count of that element, use {@link
       * #remove(Object, int) remove}{@code (element, 1)} instead.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

    public class FinalizableReferenceQueueClassLoaderUnloadingTest extends TestCase {
    
      /*
       * The following tests check that the use of FinalizableReferenceQueue does not prevent the
       * ClassLoader that loaded that class from later being garbage-collected. If anything continues
       * to reference the FinalizableReferenceQueue class then its ClassLoader cannot be
       * garbage-collected, even if there are no more instances of FinalizableReferenceQueue itself.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

        }
    
        /**
         * The event "artifact resolved" if fired WHENEVER an artifact is resolved, BUT it happens also when an artifact
         * descriptor (model, the POM) is being built, and parent (and parent of parent...) is being asked for. Hence, this
         * method "filters" out in WHICH artifact are we interested in, but it intentionally neglects extension as
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Predicates.java

       * Returns a predicate that evaluates to {@code true} if the object reference being tested is
       * null.
       */
      @GwtCompatible(serializable = true)
      public static <T extends @Nullable Object> Predicate<T> isNull() {
        return ObjectPredicate.IS_NULL.withNarrowedType();
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the object reference being tested is not
       * null.
       */
      @GwtCompatible(serializable = true)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        /** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */
        private final Object lock = new Object();
    
        /*
         * Conceptually, these two variables describe the executor being in
         * one of three states:
         *   - Active: shutdown == false
         *   - Shutdown: runningTasks > 0 and shutdown == true
         *   - Terminated: runningTasks == 0 and shutdown == true
         */
    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)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * collection that is currently being modified by another thread.
       *
       * @throws ClassCastException if the elements are not mutually comparable
       * @throws NullPointerException if any of {@code elements} is null
       * @since 7.0 (source-compatible since 2.0)
       */
      public static <E> ImmutableSortedSet<E> copyOf(Collection<? extends E> elements) {
        // Hack around E not being a subtype of Comparable.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * spread over each second. When the incoming request rate exceeds {@code permitsPerSecond} the
       * rate limiter will release one permit every {@code (1.0 / permitsPerSecond)} seconds. When the
       * rate limiter is unused, bursts of up to {@code permitsPerSecond} permits will be allowed, with
       * subsequent requests being smoothly limited at the stable rate of {@code permitsPerSecond}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/PreconditionsTest.java

        // being selected in phase 1
        Preconditions.checkState(boxedBoolean, "", (Object) boxedLong);
    
        // ternaries introduce their own problems. because of the ternary (which requires a boxing
        // operation) no overload can be selected in phase 1.  and in phase 2 it is ambiguous since it
        // matches with the second parameter being boxed and without it being boxed.  The cast to Object
        // avoids this.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top