Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 476 for iterators (0.04 sec)

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

        return (row == null) ? null : safeGet(row, columnKey);
      }
    
      @Override
      public boolean isEmpty() {
        return size() == 0;
      }
    
      @Override
      public void clear() {
        Iterators.clear(cellSet().iterator());
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V remove(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractMultimap.java

        checkNotNull(values);
        // make sure we only call values.iterator() once
        // and we only call get(key) if values is nonempty
        if (values instanceof Collection) {
          Collection<? extends V> valueCollection = (Collection<? extends V>) values;
          return !valueCollection.isEmpty() && get(key).addAll(valueCollection);
        } else {
          Iterator<? extends V> valueItr = values.iterator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeBasedTable.java

        }
      }
    
      /** Overridden column iterator to return columns values in globally sorted order. */
      @Override
      Iterator<C> createColumnKeyIterator() {
        Comparator<? super C> comparator = columnComparator();
    
        Iterator<C> merged =
            mergeSorted(
                transform(backingMap.values(), (Map<C, V> input) -> input.keySet().iterator()),
                comparator);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMapValues.java

        return CollectSpliterators.map(map.entrySet().spliterator(), Entry::getValue);
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && Iterators.contains(iterator(), object);
      }
    
      @Override
      boolean isPartialView() {
        return true;
      }
    
      @Override
      public ImmutableList<V> asList() {
        ImmutableList<Entry<K, V>> entryList = map.entrySet().asList();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    package com.google.common.collect;
    
    import static com.google.common.collect.Iterators.emptyIterator;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.InvalidObjectException;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RangeSet.java

      Range<C> span();
    
      // Views
    
      /**
       * Returns a view of the {@linkplain Range#isConnected disconnected} ranges that make up this
       * range set. The returned set may be empty. The iterators returned by its {@link
       * Iterable#iterator} method return the ranges in increasing order of lower bound (equivalently,
       * of upper bound).
       */
      Set<Range<C>> asRanges();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

      /**
       * A sensible definition of {@link #pollFirstEntry} in terms of the {@code iterator} of {@code
       * entrySet}. If you override {@code entrySet}, you may wish to override {@code pollFirstEntry} to
       * forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardPollFirstEntry() {
        return Iterators.pollNext(entrySet().iterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingNavigableMap.java

      /**
       * A sensible definition of {@link #pollFirstEntry} in terms of the {@code iterator} of {@code
       * entrySet}. If you override {@code entrySet}, you may wish to override {@code pollFirstEntry} to
       * forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardPollFirstEntry() {
        return Iterators.pollNext(entrySet().iterator());
      }
    
      @Override
      public @Nullable Entry<K, V> pollLastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableEnumSet.java

        this.delegate = delegate;
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return Iterators.unmodifiableIterator(delegate.iterator());
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return delegate.spliterator();
      }
    
      @Override
      public void forEach(Consumer<? super E> action) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/package-info.java

     *   <li>{@link ContiguousSet}
     * </ul>
     *
     * <h2>Classes of static utility methods</h2>
     *
     * <ul>
     *   <li>{@link Collections2}
     *   <li>{@link Comparators}
     *   <li>{@link Iterables}
     *   <li>{@link Iterators}
     *   <li>{@link Lists}
     *   <li>{@link Maps}
     *   <li>{@link MoreCollectors}
     *   <li>{@link Multimaps}
     *   <li>{@link Multisets}
     *   <li>{@link ObjectArrays}
     *   <li>{@link Queues}
     *   <li>{@link Sets}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top