Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NextElement (0.07 sec)

  1. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        TestSuite suite = filterSuite(candidateTests);
    
        Enumeration<?> allTests = suite.tests();
        while (allTests.hasMoreElements()) {
          Object test = allTests.nextElement();
          if (test instanceof AbstractTester) {
            @SuppressWarnings("unchecked")
            AbstractTester<? super G> tester = (AbstractTester<? super G>) test;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        TestSuite suite = filterSuite(candidateTests);
    
        Enumeration<?> allTests = suite.tests();
        while (allTests.hasMoreElements()) {
          Object test = allTests.nextElement();
          if (test instanceof AbstractTester) {
            @SuppressWarnings("unchecked")
            AbstractTester<? super G> tester = (AbstractTester<? super G>) test;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testAsEnumerationTypical() {
        Iterator<Integer> iter = ImmutableList.of(1, 2, 3).iterator();
        Enumeration<Integer> enumer = Iterators.asEnumeration(iter);
    
        assertTrue(enumer.hasMoreElements());
        assertEquals(1, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(2, (int) enumer.nextElement());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testAsEnumerationTypical() {
        Iterator<Integer> iter = ImmutableList.of(1, 2, 3).iterator();
        Enumeration<Integer> enumer = Iterators.asEnumeration(iter);
    
        assertTrue(enumer.hasMoreElements());
        assertEquals(1, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(2, (int) enumer.nextElement());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

          public boolean hasNext() {
            return enumeration.hasMoreElements();
          }
    
          @Override
          @ParametricNullness
          public T next() {
            return enumeration.nextElement();
          }
        };
      }
    
      /**
       * Adapts an {@code Iterator} to the {@code Enumeration} interface.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top