Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 741 for iterated (0.09 sec)

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

          return oldValue;
        }
      }
    
      Iterator<Entry<K, V>> entrySetIterator() {
        final Iterator<Entry<K, V>> iterator = delegate.entrySet().iterator();
        return new Iterator<Entry<K, V>>() {
          @CheckForNull Entry<K, V> entry;
    
          @Override
          public boolean hasNext() {
            return iterator.hasNext();
          }
    
          @Override
          public Entry<K, V> next() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.IOException;
    import java.lang.reflect.Method;
    import java.net.URL;
    import java.util.Enumeration;
    import java.util.Iterator;
    
    import org.codelibs.core.collection.EnumerationIterator;
    import org.codelibs.core.exception.ClIllegalStateException;
    import org.codelibs.core.exception.ClassNotFoundRuntimeException;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        Iterator<String> iterator = asList("a", "b", "a").iterator();
        List<String> list = ImmutableList.copyOf(iterator);
        assertEquals(asList("a", "b", "a"), list);
      }
    
      public void testCopyOf_iteratorContainingNull() {
        Iterator<@Nullable String> iterator =
            Arrays.<@Nullable String>asList("a", null, "b").iterator();
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

      FilteredMultimapValues(FilteredMultimap<K, V> multimap) {
        this.multimap = checkNotNull(multimap);
      }
    
      @Override
      public Iterator<V> iterator() {
        return Maps.valueIterator(multimap.entries().iterator());
      }
    
      @Override
      public boolean contains(@CheckForNull Object o) {
        return multimap.containsValue(o);
      }
    
      @Override
      public int size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        Iterator<String> iterator = asList("a", "b", "a").iterator();
        Multiset<String> multiset = ImmutableMultiset.copyOf(iterator);
        assertEquals(HashMultiset.create(asList("a", "b", "a")), multiset);
      }
    
      public void testCopyOf_iteratorContainingNull() {
        Iterator<@Nullable String> iterator =
            Arrays.<@Nullable String>asList("a", null, "b").iterator();
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

          return frequency;
        }
    
        @Override
        Iterator<E> elementIterator() {
          return Multisets.elementIterator(entryIterator());
        }
    
        @Override
        Iterator<Entry<E>> entryIterator() {
          final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator();
          return new UnmodifiableIterator<Multiset.Entry<E>>() {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        } catch (IllegalArgumentException e) {
          return emptySet(comparator());
        }
      }
    
      @CheckForNull
      E higher(E e) {
        checkNotNull(e);
        Iterator<E> iterator = tailSet(e).iterator();
        while (iterator.hasNext()) {
          E higher = iterator.next();
          if (comparator().compare(e, higher) < 0) {
            return higher;
          }
        }
        return null;
      }
    
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/PairwiseEquivalence.java

        this.elementEquivalence = Preconditions.checkNotNull(elementEquivalence);
      }
    
      @Override
      protected boolean doEquivalent(Iterable<T> iterableA, Iterable<T> iterableB) {
        Iterator<T> iteratorA = iterableA.iterator();
        Iterator<T> iteratorB = iterableB.iterator();
    
        while (iteratorA.hasNext() && iteratorB.hasNext()) {
          if (!elementEquivalence.equivalent(iteratorA.next(), iteratorB.next())) {
            return false;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingMap.java

       * that approach would not lead to an infinite loop.
       *
       * @since 7.0
       */
      @CheckForNull
      protected V standardRemove(@CheckForNull Object key) {
        Iterator<Entry<K, V>> entryIterator = entrySet().iterator();
        while (entryIterator.hasNext()) {
          Entry<K, V> entry = entryIterator.next();
          if (Objects.equal(entry.getKey(), key)) {
            V value = entry.getValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        assertThat(multimap.keySet()).containsExactly("foo", "bar", "cow").inOrder();
        assertThat(multimap.values()).containsExactly(5, 4, 3, 2, 1).inOrder();
    
        Iterator<Entry<String, Integer>> entryIterator = multimap.entries().iterator();
        assertEquals(immutableEntry("foo", 5), entryIterator.next());
        assertEquals(immutableEntry("bar", 4), entryIterator.next());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top