Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 550 for Ball (0.13 sec)

  1. guava/src/com/google/common/collect/ImmutableMultimap.java

     * need for a distinct {@code ImmutableBiMultimap} type.
     *
     * <p><a id="iteration"></a>
     *
     * <p><b>Key-grouped iteration.</b> All view collections follow the same iteration order. In all
     * current implementations, the iteration order always keeps multiple entries with the same key
     * together. Any creation method that would customarily respect insertion order (such as {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/TempFileCreator.java

          /*
           * https://github.com/google/guava/issues/6634: ProcessHandle has more accurate information,
           * but that class isn't available under all environments that we support. We use it if
           * available and fall back if not.
           */
          String fromSystemProperty = requireNonNull(USER_NAME.value());
    
          try {
            Class<?> processHandleClass = Class.forName("java.lang.ProcessHandle");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

    abstract class InterruptibleTask<T extends @Nullable Object>
        extends AtomicReference<@Nullable Runnable> implements Runnable {
      static {
        // Prevent rare disastrous classloading in first call to LockSupport.park.
        // See: https://bugs.openjdk.java.net/browse/JDK-8074773
        @SuppressWarnings("unused")
        Class<?> ensureLoaded = LockSupport.class;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            guard.setSatisfied(true);
            break;
          case SATISFIED_WHILE_WAITING:
            guard.setSatisfied(false);
            enterSatisfyGuardAndLeaveInAnotherThread(); // enter blocks until we call waitFor
            break;
          case UNSATISFIED_BEFORE_AND_WHILE_WAITING:
            guard.setSatisfied(false);
            break;
          case SATISFIED_AND_INTERRUPTED_BEFORE_WAITING:
            guard.setSatisfied(true);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * When multiple elements are equivalent according to {@code compareTo()}, only the first one
       * specified is included. To create a copy of a {@code SortedSet} that preserves the comparator,
       * call {@link #copyOfSorted} instead. This method iterates over {@code elements} at most once.
       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
    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)
  6. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        public static FinalizableReferenceQueue frq = new FinalizableReferenceQueue();
        public static final Semaphore finalized = new Semaphore(0);
    
        @Override
        public WeakReference<Object> call() {
          WeakReference<Object> wr =
              new FinalizableWeakReference<Object>(new Integer(23), frq) {
                @Override
                public void finalizeReferent() {
                  finalized.release();
    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)
  7. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

                new Thread() {
                  @Override
                  public void run() {
                    notifyStarted();
                    // We need to wait for the main thread to leave the ServiceManager.startAsync call
                    // to
                    // ensure that the thread running the failure callbacks is not the main thread.
                    Uninterruptibles.awaitUninterruptibly(afterStarted);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        assertThat(graphAsMutableGraph.removeNode(N1)).isTrue();
    
        // The choice of the size() method to call here is arbitrary.  We assume that if any of the Set
        // methods executes the validation check, they all will, and thus we only need to test one of
        // them to ensure that the validation check happens and has the expected behavior.
        assertNodeRemovedFromGraphErrorMessage(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Traverser.java

     *       objects into a non-recursive form, you can use {@code forGraph()}.
     * </ul>
     *
     * @author Jens Nyman
     * @param <N> Node parameter type
     * @since 23.1
     */
    @Beta
    @DoNotMock(
        "Call forGraph or forTree, passing a lambda or a Graph with the desired edges (built with"
            + " GraphBuilder)")
    @ElementTypesAreNonnullByDefault
    public abstract class Traverser<N> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

       * entire stream. To avoid a potentially expensive operation, see {@link #sizeIfKnown}.
       *
       * <p>The default implementation calls {@link #sizeIfKnown} and returns the value if present. If
       * absent, it will fall back to a heavyweight operation that will open a stream, read (or {@link
       * InputStream#skip(long) skip}, if possible) to the end of the stream and return the total number
       * of bytes that were read.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
Back to top