Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 722 for Iterator (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/cache/Cache.java

       * the map directly affect the cache.
       *
       * <p>Iterators from the returned map are at least <i>weakly consistent</i>: they are safe for
       * concurrent use, but if the cache is modified (including by eviction) after the iterator is
       * created, it is undefined which of the changes (if any) will be reflected in that iterator.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Headers.kt

        for (i in 0 until namesAndValues.size) {
          result += namesAndValues[i].length.toLong()
        }
    
        return result
      }
    
      override operator fun iterator(): Iterator<Pair<String, String>> = commonIterator()
    
      fun newBuilder(): Builder = commonNewBuilder()
    
      /**
       * Returns true if `other` is a `Headers` object with the same headers, with the same casing, in
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        return Multisets.immutableEntry(element, count);
      }
    
      private static <E extends @Nullable Object> Entry<E> control(E element, int count) {
        return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next();
      }
    
      public void testToString() {
        assertEquals("foo", entry("foo", 1).toString());
        assertEquals("bar x 2", entry("bar", 2).toString());
      }
    
      public void testToStringNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multiset.java

      // Refined Collection Methods
    
      /**
       * {@inheritDoc}
       *
       * <p>Elements that occur multiple times in the multiset will appear multiple times in this
       * iterator, though not necessarily sequentially.
       */
      @Override
      Iterator<E> iterator();
    
      /**
       * Determines whether this multiset contains the specified element.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertFalse(list.contains("chicken"));
        assertEquals(-1, list.indexOf("chicken"));
        assertEquals(-1, list.lastIndexOf("chicken"));
      }
    
      private static <E> Iterator<E> asIterator(E... elements) {
        return asList(elements).iterator();
      }
    
      // In GWT, java.util.TreeSet throws ClassCastException when the comparator
      // throws it, unlike JDK6.  Therefore, we accept ClassCastException as a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top