Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 651 for iterators (0.12 sec)

  1. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
    
            final IndexedIterator<String> it = new IndexedIterator<String>(list.iterator());
    
            assertThat(it.hasNext(), is(true));
    
            final Indexed<String> indexed1 = it.next();
            assertThat(indexed1.getIndex(), is(0));
            assertThat(indexed1.getElement(), is("aaa"));
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            Result<? extends ProjectDependencyGraph> graphResult = buildGraph(session);
    
            if (graphResult.hasErrors()) {
                return addExceptionToResult(
                        result, graphResult.getProblems().iterator().next().getException());
            }
    
            try {
                session.setProjectMap(getProjectMap(session.getProjects()));
            } catch (DuplicateProjectException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      @Override
      public Set<Entry<K, V>> entrySet() {
        Set<Entry<K, V>> es = entrySet;
        return (es != null) ? es : (entrySet = new EntrySet());
      }
    
      // Iterator Support
    
      abstract class HashIterator<T> implements Iterator<T> {
    
        int nextSegmentIndex;
        int nextTableIndex;
        @CheckForNull Segment<K, V, E, S> currentSegment;
        @CheckForNull AtomicReferenceArray<E> currentTable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

            continue
          }
    
          // Search for the certificate in the chain that signed this certificate. This is typically
          // the next element in the chain, but it could be any element.
          val i = queue.iterator()
          while (i.hasNext()) {
            val signingCert = i.next() as X509Certificate
            if (verifySignature(toVerify, signingCert, result.size - 1)) {
              i.remove()
              result.add(signingCert)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                    relatedMetadata.put(snapshotKey, (MergeableMetadata) metadata);
                }
            }
    
            artifact.setResolvedVersion(result.getArtifacts().iterator().next().getVersion());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

        View(HashBiMap<K, V> biMap) {
          this.biMap = biMap;
        }
    
        @ParametricNullness
        abstract T forEntry(int entry);
    
        @Override
        public Iterator<T> iterator() {
          return new Iterator<T>() {
            private int index = biMap.firstInInsertionOrder;
            private int indexToRemove = ABSENT;
            private int expectedModCount = biMap.modCount;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                }
                            }
    
                            // Conflict Resolution
                            ResolutionNode resolved = null;
                            for (Iterator<ConflictResolver> j = conflictResolvers.iterator();
                                    resolved == null && j.hasNext(); ) {
                                ConflictResolver conflictResolver = j.next();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        // For datasets of many double values created from an iterator, we test many combinations of
        // finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
          accumulator.addAll(values.asIterable().iterator());
          for (double value : values.asIterable()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableBiMap.java

            return true;
          }
    
          @Override
          public int hashCode() {
            return hashCode;
          }
    
          @Override
          public UnmodifiableIterator<Entry<V, K>> iterator() {
            return asList().iterator();
          }
    
          @Override
          public void forEach(Consumer<? super Entry<V, K>> action) {
            asList().forEach(action);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Dfs.java

                }
                String key = "\\" + domain + "\\" + root;
                if (path.equals("\\") == false)
                    key += path;
                key = key.toLowerCase();
    
                Iterator iter = referrals.map.keySet().iterator();
                while (iter.hasNext()) {
                    String _key = (String)iter.next();
                    int _klen = _key.length();
                    boolean match = false;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
Back to top