Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 591 for Operator (0.16 sec)

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

        }
    
        void setValue(@ParametricNullness V value) {
          checkState(current != null);
          current.value = value;
        }
      }
    
      /** An {@code Iterator} over distinct keys in key head order. */
      private class DistinctKeyIterator implements Iterator<K> {
        final Set<K> seenKeys = Sets.<K>newHashSetWithExpectedSize(keySet().size());
        @CheckForNull Node<K, V> next = head;
        @CheckForNull Node<K, V> current;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Collections2.java

        }
    
        @Override
        public boolean isEmpty() {
          return !Iterables.any(unfiltered, predicate);
        }
    
        @Override
        public Iterator<E> iterator() {
          return Iterators.filter(unfiltered.iterator(), predicate);
        }
    
        @Override
        public Spliterator<E> spliterator() {
          return CollectSpliterators.filter(unfiltered.spliterator(), predicate);
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingList.java

      }
    
      /**
       * A sensible default implementation of {@link #iterator}, in terms of {@link #listIterator()}. If
       * you override {@link #listIterator()}, you may wish to override {@link #iterator} to forward to
       * this implementation.
       *
       * @since 7.0
       */
      protected Iterator<E> standardIterator() {
        return listIterator();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return delegate.higher(checkValid(e));
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public Iterator<E> iterator() {
        return delegate.iterator();
      }
    
      @Override
      public E last() {
        return delegate.last();
      }
    
      @Override
      public @Nullable E lower(E e) {
        return delegate.lower(checkValid(e));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testPutAllSomePresentConcurrentWithEntrySetIteration() {
        try {
          Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
          putAll(MinimalCollection.of(e3(), e0()));
          iterator.next();
          fail("Expected ConcurrentModificationException");
        } catch (ConcurrentModificationException expected) {
          // success
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedMultiset.java

       *
       * <p>The {@code entrySet}'s iterator returns entries in ascending element order according to this
       * multiset's comparator.
       */
      @Override
      Set<Entry<E>> entrySet();
    
      /**
       * {@inheritDoc}
       *
       * <p>The iterator returns the elements in ascending order according to this multiset's
       * comparator.
       */
      @Override
      Iterator<E> iterator();
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import java.util.AbstractCollection;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Spliterator;
    import java.util.function.Predicate;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link ImmutableCollection}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      public SampleElements(E e0, E e1, E e2, E e3, E e4) {
        this.e0 = e0;
        this.e1 = e1;
        this.e2 = e2;
        this.e3 = e3;
        this.e4 = e4;
      }
    
      @Override
      public Iterator<E> iterator() {
        return asList().iterator();
      }
    
      public List<E> asList() {
        return Arrays.asList(e0(), e1(), e2(), e3(), e4());
      }
    
      public static class Strings extends SampleElements<String> {
        public Strings() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      public SampleElements(E e0, E e1, E e2, E e3, E e4) {
        this.e0 = e0;
        this.e1 = e1;
        this.e2 = e2;
        this.e3 = e3;
        this.e4 = e4;
      }
    
      @Override
      public Iterator<E> iterator() {
        return asList().iterator();
      }
    
      public List<E> asList() {
        return Arrays.asList(e0(), e1(), e2(), e3(), e4());
      }
    
      public static class Strings extends SampleElements<String> {
        public Strings() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testAddAllConcurrentWithIteration() {
        try {
          Iterator<E> iterator = collection.iterator();
          assertTrue(collection.addAll(MinimalCollection.of(e3(), e0())));
          iterator.next();
          fail("Expected ConcurrentModificationException");
        } catch (ConcurrentModificationException expected) {
          // success
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top