Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hasMoreElements (0.11 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(2, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(3, (int) enumer.nextElement());
        assertFalse(enumer.hasMoreElements());
      }
    
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
        return vector.elements();
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(2, (int) enumer.nextElement());
        assertTrue(enumer.hasMoreElements());
        assertEquals(3, (int) enumer.nextElement());
        assertFalse(enumer.hasMoreElements());
      }
    
      private static Enumeration<Integer> enumerate(int... ints) {
        Vector<Integer> vector = new Vector<>(Ints.asList(ints));
        return vector.elements();
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                        doSend0(req);
                    }
                    while ( req.hasMoreElements() && req.nextElement() != null );
    
                    /*
                     * Receive multiple fragments
                     */
                    synchronized ( resp ) {
                        while ( !resp.isReceived() || resp.hasMoreElements() ) {
                            if ( !params.contains(RequestParam.NO_TIMEOUT) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

          Enumeration<T> enumeration) {
        checkNotNull(enumeration);
        return new UnmodifiableIterator<T>() {
          @Override
          public boolean hasNext() {
            return enumeration.hasMoreElements();
          }
    
          @Override
          @ParametricNullness
          public T next() {
            return enumeration.nextElement();
          }
        };
      }
    
      /**
    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