Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,258 for operator (0.18 sec)

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

       * operation takes amortized linear time in the length of {@code elements}. The iterator is
       * consumed after this operation completes.
       *
       * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterator}, prefer
       * {@link Ordering#leastOf(Iterator, int)}, which provides a simpler API for that use case.
       */
      public void offerAll(Iterator<? extends T> elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/UnmodifiableListIterator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.DoNotCall;
    import java.util.ListIterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A list iterator that does not support {@link #remove}, {@link #add}, or {@link #set}.
     *
     * @since 7.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      @Override
      UnmodifiableIterator<Entry<K, V>> entryIterator() {
        return new UnmodifiableIterator<Entry<K, V>>() {
          final Iterator<? extends Entry<K, ? extends ImmutableCollection<V>>> asMapItr =
              map.entrySet().iterator();
          @CheckForNull K currentKey = null;
          Iterator<V> valueItr = emptyIterator();
    
          @Override
          public boolean hasNext() {
            return valueItr.hasNext() || asMapItr.hasNext();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableCollection.java

     *   <li>The {@code copyOf} methods will sometimes recognize that the actual copy operation is
     *       unnecessary; for example, {@code copyOf(copyOf(anArrayList))} should copy the data only
     *       once. This reduces the expense of habitually making defensive copies at API boundaries.
     *       However, the precise conditions for skipping the copy operation are undefined.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableList.java

        }
        return new RegularImmutableList<E>(elements, length);
      }
    
      ImmutableList() {}
    
      // This declaration is needed to make List.iterator() and
      // ImmutableCollection.iterator() consistent.
      @Override
      public UnmodifiableIterator<E> iterator() {
        return listIterator();
      }
    
      @Override
      public UnmodifiableListIterator<E> listIterator() {
        return listIterator(0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharSource.java

        }
    
        /**
         * Returns an iterator over the lines in the string. If the string ends in a newline, a final
         * empty string is not included, to match the behavior of BufferedReader/LineReader.readLine().
         */
        private Iterator<String> linesIterator() {
          return new AbstractIterator<String>() {
            Iterator<String> lines = LINE_SPLITTER.split(seq).iterator();
    
            @Override
            @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

       * </pre>
       *
       * @return a list of {@code ListenableFuture} instances representing the tasks, in the same
       *     sequential order as produced by the iterator for the given task list. If the operation did
       *     not time out, each task will have completed. If it did time out, some of these tasks will
       *     not have completed.
       * @throws RejectedExecutionException {@inheritDoc}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 10:45:35 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/MapIteratorCache.java

      }
    
      final Set<K> unmodifiableKeySet() {
        return new AbstractSet<K>() {
          @Override
          public UnmodifiableIterator<K> iterator() {
            Iterator<Entry<K, V>> entryIterator = backingMap.entrySet().iterator();
    
            return new UnmodifiableIterator<K>() {
              @Override
              public boolean hasNext() {
                return entryIterator.hasNext();
              }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/jquery-3.7.1.min.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

          UnmodifiableIterator<T> iterator) {
        return checkNotNull(iterator);
      }
    
      /**
       * Returns the number of elements remaining in {@code iterator}. The iterator will be left
       * exhausted: its {@code hasNext()} method will return {@code false}.
       */
      public static int size(Iterator<?> iterator) {
        long count = 0L;
        while (iterator.hasNext()) {
          iterator.next();
          count++;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top