Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 867 for Iteration (0.07 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            } else {
              assertThat(numSuccessfulSetCalls.get()).isEqualTo(1);
            }
          } else {
            assertThat(numSuccessfulSetCalls.get()).isEqualTo(1);
          }
          // reset for next iteration
          numSuccessfulSetCalls.set(0);
          finalResults.clear();
        }
        executor.shutdown();
      }
    
      // setFuture and cancel() interact in more complicated ways than the other setters.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

          return AbstractScheduledService.this.toString();
        }
      }
    
      /** Constructor for use by subclasses. */
      protected AbstractScheduledService() {}
    
      /**
       * Run one iteration of the scheduled task. If any invocation of this method throws an exception,
       * the service will transition to the {@link Service.State#FAILED} state and this method will no
       * longer be called.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        // It would be nice to be able to return a real concurrent
        // collection like ConcurrentLinkedQueue, so that e.g. concurrent
        // iteration would work, but that would not be GWT-compatible.
        // We are not "just" inheriting from ArrayList here as this doesn't work for J2kt.
        return new AbstractList<T>() {
          final ArrayList<T> data = new ArrayList<>();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

                    return endOfData();
                  } else if (entry.getUpperBound().compareTo(subRange.lowerBound) > 0) {
                    // this might not be true e.g. at the start of the iteration
                    return immutableEntry(entry.getKey().intersection(subRange), entry.getValue());
                  }
                }
                return endOfData();
              }
            };
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            SmbResourceLocatorImpl l = locator("smb://server/");
            assertTrue(l.isWorkgroup());
        }
    
        @Test
        @DisplayName("getAddress/getFirstAddress resolution branches and iteration")
        void testAddressResolutionAndIteration() throws Exception {
            // Query parameter 'server' takes precedence
            UniAddress a1 = mock(UniAddress.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

          @Override
          public Entry<E> next() {
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            // requireNonNull is safe because current is only nulled out after iteration is complete.
            Entry<E> result = wrapEntry(requireNonNull(current));
            prevEntry = result;
            if (current.succ() == header) {
              current = null;
            } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

       *
       * <p>In particular, this map iterates over entries with repeated calls to {@link
       * NavigableMap#lowerEntry}. If a more efficient means of iteration is available, you may wish to
       * override the {@code entryIterator()} method of this class.
       *
       * @since 12.0
       */
      protected class StandardDescendingMap extends Maps.DescendingMap<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ForwardingNavigableMap.java

       *
       * <p>In particular, this map iterates over entries with repeated calls to {@link
       * NavigableMap#lowerEntry}. If a more efficient means of iteration is available, you may wish to
       * override the {@code entryIterator()} method of this class.
       *
       * @since 12.0
       */
      protected class StandardDescendingMap extends Maps.DescendingMap<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      public void testPowerSetIteration_manual() {
        ImmutableSet<Integer> elements = ImmutableSet.of(1, 2, 3);
        Set<Set<Integer>> powerSet = powerSet(elements);
        // The API doesn't promise this iteration order, but it's convenient here.
        Iterator<Set<Integer>> i = powerSet.iterator();
        assertEquals(ImmutableSet.of(), i.next());
        assertEquals(ImmutableSet.of(1), i.next());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multimap.java

      /**
       * Performs the given action for all key-value pairs contained in this multimap. If an ordering is
       * specified by the {@code Multimap} implementation, actions will be performed in the order of
       * iteration of {@link #entries()}. Exceptions thrown by the action are relayed to the caller.
       *
       * <p>To loop over all keys and their associated value collections, write {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top