Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 598 for Iteration (0.05 sec)

  1. src/main/java/org/codelibs/core/lang/ClassIterator.java

     *
     * Class<?> someClass = ...;
     * for (Class<?> clazz : iterable(someClass)) {
     *     ...
     * }
     * </pre>
     * <p>
     * By default, the {@link Object} class is also included in the iteration. If you do not want to include {@link Object},
     * specify {@literal false} for the second argument of {@link #iterable(Class, boolean)} or {@link #ClassIterator(Class, boolean)}.
     * </p>
     *
     * @author koichik
     */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/EmptyIteratorTest.java

                            innerCount++;
                        }
                    }
                    assertEquals(0, innerCount, "Inner iteration should not execute");
                }
                assertEquals(0, outerCount, "Outer iteration should not execute");
            }, "EmptyIterator should work correctly in nested iteration");
        }
    
        @Test
        @DisplayName("EmptyIterator should follow Iterator contract for empty collections")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
        public Enums() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
        public Enums() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /**
       * Returns an immutable copy of the provided table.
       *
       * <p>The {@link Table#cellSet()} iteration order of the provided table determines the iteration
       * ordering of all views in the returned table. Note that some views of the original table and the
       * copied table may have different iteration orders. For more control over the ordering, create a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                            try {
                                // Mix of success and failure
                                final int iteration = i;
                                String result = circuitBreaker.executeWithCircuitBreaker(() -> {
                                    if ((threadId + iteration) % 10 == 0) {
                                        throw new RuntimeException("Simulated failure");
                                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            // Verify iteration
            assertTrue(iterator.hasNext());
            assertSame(resource, iterator.next());
            assertFalse(iterator.hasNext());
    
            verify(filter, times(2)).accept(resource);
            verify(resource, times(2)).close();
        }
    
        @Test
        @DisplayName("Multiple iterations")
        void multipleIterations() {
            // Setup for three items
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/BigIntegerMath.java

         * with each iteration, so this algorithm takes O(log(digits)) iterations.
         *
         * We start out with a double-precision approximation, which may be higher or lower than the
         * true value. Therefore, we perform at least one Newton iteration to get a guess that's
         * definitely >= floor(sqrt(x)), and then continue the iteration until we reach a fixed point.
         */
        BigInteger sqrt0;
        int log2 = log2(x, FLOOR);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMultiset.java

       * described in the class documentation.
       *
       * @throws NullPointerException if any of {@code elements} is null
       * @since 6.0
       */
      public static <E> ImmutableMultiset<E> copyOf(E[] elements) {
        return copyFromElements(elements);
      }
    
      /**
       * Returns an immutable multiset containing the given elements, in the "grouped iteration order"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.LinkedList;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests the speed of iteration of different iteration methods for collections.
     *
     * @author David Richter
     */
    @NullUnmarked
    public class IteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top