Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 713 for NEXT (0.02 sec)

  1. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

         */
        @Override
        public boolean hasNext () {
            return this.next != null;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#next()
         */
        @Override
        public FileEntry next () {
            FileEntry n = this.next;
            try {
                FileEntry ne = advance(false);
                if ( ne == null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NetServerEnumIterator.java

         */
        @Override
        public boolean hasNext () {
            return this.next != null;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#next()
         */
        @Override
        public FileEntry next () {
            FileEntry n = this.next;
            try {
                FileEntry ne = advance();
                if ( ne == null ) {
                    doClose();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        var unionWith: Mapping = mapping
        index++
    
        while (index < mappings.size) {
          val next = mappings[index]
    
          if (type != canonicalizeType(next.type)) break
          if (type == TYPE_MAPPED && mappedTo != next.mappedTo) break
    
          unionWith = next
          index++
        }
    
        result +=
          Mapping(
            sourceCodePoint0 = mapping.sourceCodePoint0,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/SLinkedList.java

            if (element == null) {
                for (Entry e = header.next; e != header; e = e.next) {
                    if (e.element == null) {
                        e.remove();
                        return true;
                    }
                }
            } else {
                for (Entry e = header.next; e != header; e = e.next) {
                    if (element.equals(e.element)) {
                        e.remove();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractIterator.java

        // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`.
        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
      /**
       * Returns the next element in the iteration without advancing the iteration, according to the
       * contract of {@link PeekingIterator#peek()}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 02:04:10 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals(
            "next() should still return first element after peeking", "A", peekingIterator.next());
    
        assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek());
        assertEquals(
            "Should be able to peek() middle element multiple times", "B", peekingIterator.peek());
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(cycle.hasNext());
        assertEquals("a", cycle.next());
        cycle.remove();
        assertEquals(singletonList("b"), iterable);
        assertTrue(cycle.hasNext());
        assertEquals("b", cycle.next());
        assertTrue(cycle.hasNext());
        assertEquals("b", cycle.next());
        cycle.remove();
        assertEquals(emptyList(), iterable);
        assertFalse(cycle.hasNext());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/LineIteratorTest.java

            final LineIterator it = new LineIterator(reader);
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("aaa"));
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("bbb"));
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("ccc"));
            assertThat(it.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java

            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameInstance(cl3)));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameInstance(cl2)));
    
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is(sameInstance(cl1)));
    
            assertThat(it.hasNext(), is(not(true)));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

                while ( curResp != null ) {
                    this.response_map.remove(curResp.getMid());
                    Request next = curReq.getNext();
                    if ( next != null ) {
                        curReq = next;
                        curResp = next.getResponse();
                    }
                    else {
                        break;
                    }
                }
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
Back to top