Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 784 for iterator (0.09 sec)

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

        this.map = map;
      }
    
      @Override
      public int size() {
        return map.size();
      }
    
      @Override
      public UnmodifiableIterator<V> iterator() {
        return new UnmodifiableIterator<V>() {
          final UnmodifiableIterator<Entry<K, V>> entryItr = map.entrySet().iterator();
    
          @Override
          public boolean hasNext() {
            return entryItr.hasNext();
          }
    
          @Override
          public V next() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java

        }
    
        public boolean include(Artifact artifact) {
            String id = artifact.getGroupId() + ":" + artifact.getArtifactId();
    
            boolean matched = false;
            for (Iterator<String> i = patterns.iterator(); i.hasNext() & !matched; ) {
                // TODO what about wildcards? Just specifying groups? versions?
                if (id.equals(i.next())) {
                    matched = true;
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/AllTests.java

                try {
                    Path configDir = Paths.get(System.getProperty(TestProperties.TEST_CONFIG_DIR));
                    Iterator<Path> it = Files.newDirectoryStream(configDir).iterator();
    
                    while ( it.hasNext() ) {
                        Path config = it.next();
                        loadConfigFile(config, applyMutations, configs);
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

        }
    
        private boolean equals(Collection<Exclusion> ce1, Collection<Exclusion> ce2) {
            if (ce1.size() == ce2.size()) {
                Iterator<Exclusion> i1 = ce1.iterator();
                Iterator<Exclusion> i2 = ce2.iterator();
                while (i1.hasNext() && i2.hasNext()) {
                    if (!equals(i1.next(), i2.next())) {
                        return false;
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

      private Dispatcher dispatcher;
    
      public void testPerThreadQueuedDispatcher() {
        dispatcher = Dispatcher.perThreadDispatchQueue();
        dispatcher.dispatch(1, integerSubscribers.iterator());
    
        assertThat(dispatchedSubscribers)
            .containsExactly(
                i1,
                i2,
                i3, // Integer subscribers are dispatched to first.
                s1,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  6. 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)
  7. guava/src/com/google/common/collect/ImmutableSortedSet.java

            size(), SPLITERATOR_CHARACTERISTICS | Spliterator.SIZED) {
          final UnmodifiableIterator<E> iterator = iterator();
    
          @Override
          public boolean tryAdvance(Consumer<? super E> action) {
            if (iterator.hasNext()) {
              action.accept(iterator.next());
              return true;
            } else {
              return false;
            }
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

          return standardSetCount(element, count);
        }
    
        @Override
        public Set<T> elementSet() {
          return new StandardElementSet();
        }
    
        @Override
        public Iterator<T> iterator() {
          return standardIterator();
        }
    
        @Override
        public boolean isEmpty() {
          return standardIsEmpty();
        }
    
        @Override
        public int size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. 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, each of which has
       *     completed.
       * @throws RejectedExecutionException {@inheritDoc}
       * @throws NullPointerException if any task is null
       */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 10:45:35 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
        Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator();
        Entry<String, Collection<Integer>> entry = iterator.next();
        assertEquals(null, entry.getKey());
        assertThat(entry.getValue()).containsExactly(7, 3, 1);
        entry = iterator.next();
        assertEquals("tree", entry.getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top