Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 798 for NEXT (0.06 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

         */
        @Test
        public void testEntrySet() throws Exception {
            Iterator<Map.Entry<String, String>> i = map.entrySet().iterator();
            assertThat(i.next().getKey(), is(nullValue()));
            assertThat(i.next().getKey(), is("1"));
            assertThat(i.next().getKey(), is("2"));
        }
    
        /**
         * Test method for {@link org.seasar.util.collection.ArrayIterator#remove()}
         * .
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     *       next task will wait for any running callable (or pending {@code Future} returned by an
     *       {@code AsyncCallable}) to complete, without interrupting it (and without calling {@code
     *       cancel} on the {@code Future}). So beware: <i>Even if you cancel every preceding {@code
     *       Future} returned by this class, the next task may still have to wait.</i>.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. internal/s3select/jstream/scanner_test.go

    	)
    
    	r := newMockReader(failAfter, mockData)
    	scanner := newScanner(r)
    
    	for i < 1000 {
    		c := scanner.next()
    		if c == byte(0) {
    			break
    		}
    		if c != mockData {
    			t.Fatalf("expected \"%s\", got \"%s\"", string(mockData), string(c))
    		}
    		i++
    	}
    	c := scanner.next()
    	if scanner.readerErr == nil {
    		t.Fatalf("failed to receive expected error after %d bytes", failAfter)
    	}
    	if c != byte(0) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

         *
         * @param resultSet
         *            結果セット。{@literal null}であってはいけません
         * @return 次に進めたかどうか
         */
        public static boolean next(final ResultSet resultSet) {
            assertArgumentNotNull("resultSet", resultSet);
    
            try {
                return resultSet.next();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * カーソルを指定した位置まで進めます。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashing.java

        int hash = Hashing.smearedHash(key);
        int tableIndex = hash & mask;
        int next = tableGet(table, tableIndex);
        if (next == UNSET) {
          return -1;
        }
        int hashPrefix = getHashPrefix(hash, mask);
        int lastEntryIndex = -1;
        do {
          int entryIndex = next - 1;
          int entry = entries[entryIndex];
          if (getHashPrefix(entry, mask) == hashPrefix
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        Iterator<String> keyIterator = keys.iterator();
        keyIterator.next();
        keyIterator.remove();
        assertFalse(underlying.containsKey("c"));
    
        Collection<String> values = map.values();
        values.remove("4");
        assertFalse(underlying.containsKey("d"));
    
        Iterator<String> valueIterator = values.iterator();
        valueIterator.next();
        valueIterator.remove();
        assertFalse(underlying.containsKey("e"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/MultiReader.java

        this.it = readers;
        advance();
      }
    
      /** Closes the current reader and opens the next one, if any. */
      private void advance() throws IOException {
        close();
        if (it.hasNext()) {
          current = it.next().openStream();
        }
      }
    
      @Override
      public int read(char[] cbuf, int off, int len) throws IOException {
        checkNotNull(cbuf);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/EmptyIterator.java

         */
        @Override
        public boolean hasNext () {
            return false;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#next()
         */
        @Override
        public SmbResource next () {
            return null;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CloseableIterator#close()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Oct 16 10:32:35 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        assertEquals(immutableEntry("foo", 5), entryIterator.next());
        assertEquals(immutableEntry("bar", 4), entryIterator.next());
        assertEquals(immutableEntry("foo", 3), entryIterator.next());
        assertEquals(immutableEntry("cow", 2), entryIterator.next());
        assertEquals(immutableEntry("bar", 1), entryIterator.next());
    
        Iterator<Entry<String, Collection<Integer>>> collectionIterator =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Ordering.java

        Iterator<? extends T> it = iterable.iterator();
        if (it.hasNext()) {
          T prev = it.next();
          while (it.hasNext()) {
            T next = it.next();
            if (compare(prev, next) > 0) {
              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top