Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 106 for Every (0.84 sec)

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

          while (iterator.hasNext()) {
            if (element.equals(iterator.next())) {
              return true;
            }
          }
        }
        return false;
      }
    
      /**
       * Traverses an iterator and removes every element that belongs to the provided collection. The
       * iterator will be left exhausted: its {@code hasNext()} method will return {@code false}.
       *
       * @param removeFrom the iterator to (potentially) remove elements from
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        public ReentrantLock newReentrantLock(E rank, boolean fair) {
          return policy == Policies.DISABLED
              ? new ReentrantLock(fair)
              // requireNonNull is safe because createNodes inserts an entry for every E.
              // (If the caller passes `null` for the `rank` parameter, this will throw, but that's OK.)
              : new CycleDetectingReentrantLock(requireNonNull(lockGraphNodes.get(rank)), fair);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         */
        @Nonnull
        default Language getLanguage() {
            return getPackaging().language();
        }
    
        /**
         * Returns the project POM artifact, which is the artifact of the POM of this project. Every project have a POM
         * artifact, even if the existence of backing POM file is NOT a requirement (i.e. for some transient projects).
         *
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableCollection.java

     * of bugs and confusion.
     *
     * <h3>About <i>all</i> {@code Immutable-} collections</h3>
     *
     * <p>The remainder of this documentation applies to every public {@code Immutable-} type in this
     * package, whether it is a subtype of {@code ImmutableCollection} or not.
     *
     * <h4>Guarantees</h4>
     *
     * <p>Each makes the following guarantees:
     *
     * <ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       *       exceptions).
       * </ul>
       *
       * <p>The overall principle is to continue to treat every checked exception as a checked
       * exception, every unchecked exception as an unchecked exception, and every error as an error. In
       * addition, the cause of any {@code ExecutionException} is wrapped in order to ensure that the
       * new stack trace matches that of the current thread.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

          for (PerListenerQueue<L> queue : listeners) {
            queue.add(event, label);
          }
        }
      }
    
      /**
       * Dispatches all events enqueued prior to this call, serially and in order, for every listener.
       *
       * <p>Note: this method is idempotent and safe to call from any thread
       */
      public void dispatch() {
        // iterate by index to avoid concurrent modification exceptions
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

       * map.
       *
       * <p>The returned map isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered map's methods, such as {@code size()}, iterate across every key/value
       * mapping in the underlying map and determine which satisfy the filter. When a live view is
       * <i>not</i> needed, it may be faster to copy the filtered map and use the copy.
       *
    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)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * @param array a <i>nonempty</i> array of unsigned {@code long} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array according to {@link #compare}
       * @throws IllegalArgumentException if {@code array} is empty
       */
      public static long min(long... array) {
        checkArgument(array.length > 0);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *       Executor)} instead, with a function that returns the next value directly.
       *   <li>Call {@link DeferredCloser#eventuallyClose(Object, Executor) closer.eventuallyClose()}
       *       for every closeable object this step creates in order to capture it for later closing.
       *   <li>Return a {@code ClosingFuture}. To turn a {@link ListenableFuture} into a {@code
       *       ClosingFuture} call {@link #from(ListenableFuture)}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

              checkElementIndex(index, size());
              return rest[index - 2];
          }
        }
    
        @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
       * lists in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the lists. For example:
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top