Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 651 for iterators (0.23 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

     * Cache} interfaces. The {@code asMap} view (and its collection views) have <i>weakly consistent
     * iterators</i>. This means that they are safe for concurrent use, but if other threads modify the
     * cache after the iterator is created, it is undefined which of these changes, if any, are
     * reflected in that iterator. These iterators never throw {@link ConcurrentModificationException}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ArrayTable.java

     * iteration ordering across rows and columns in the table's views. None of the view iterators
     * support {@link Iterator#remove}. If the table is modified after an iterator is created, the
     * iterator remains valid.
     *
     * <p>This class requires less memory than the {@link HashBasedTable} and {@link TreeBasedTable}
     * implementations, except when the table is sparse.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashSet.java

        return indexBeforeRemove - 1;
      }
    
      @Override
      public Iterator<E> iterator() {
        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.iterator();
        }
        return new Iterator<E>() {
          int expectedMetadata = metadata;
          int currentIndex = firstEntryIndex();
          int indexToRemove = -1;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public boolean removeAll(Collection<?> c) {
          synchronized (mutex) {
            return Iterators.removeAll(delegate().iterator(), c);
          }
        }
    
        @Override
        public boolean retainAll(Collection<?> c) {
          synchronized (mutex) {
            return Iterators.retainAll(delegate().iterator(), c);
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Synchronized.java

        @Override
        public boolean removeAll(Collection<?> c) {
          synchronized (mutex) {
            return Iterators.removeAll(delegate().iterator(), c);
          }
        }
    
        @Override
        public boolean retainAll(Collection<?> c) {
          synchronized (mutex) {
            return Iterators.retainAll(delegate().iterator(), c);
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

        }
        return (node == header || !range.contains(node.getElement())) ? null : node;
      }
    
      @Override
      Iterator<E> elementIterator() {
        return Multisets.elementIterator(entryIterator());
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        return new Iterator<Entry<E>>() {
          @CheckForNull AvlNode<E> current = firstNode();
          @CheckForNull Entry<E> prevEntry;
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_4x.md

     *  Fix: Defer the `SecurityException` when looking up the default proxy selector.
     *  Fix: Don't use brackets formatting IPv6 host names in MockWebServer.
     *  Fix: Don't permit cache iterators to remove entries that are being written.
    
    
    ## Version 4.0.1
    
    _2019-07-10_
    
     *  Fix: Tolerate null-hostile lists in public API. Lists created with `List.of(...)` don't like it
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/Stats.java

      }
    
      /**
       * Returns statistics over a dataset containing the given values. The iterator will be completely
       * consumed by this method.
       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision)
       */
      public static Stats of(Iterator<? extends Number> values) {
        StatsAccumulator accumulator = new StatsAccumulator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeMultiset.java

        }
        return (node == header || !range.contains(node.getElement())) ? null : node;
      }
    
      @Override
      Iterator<E> elementIterator() {
        return Multisets.elementIterator(entryIterator());
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        return new Iterator<Entry<E>>() {
          @CheckForNull AvlNode<E> current = firstNode();
          @CheckForNull Entry<E> prevEntry;
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top