Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,424 for next (0.13 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayMap.java

                for (Entry<K, V> e = mapTable[index], prev = null; e != null; prev = e, e = e.next) {
                    if (e.hashCode == hashCode && key.equals(e.key)) {
                        if (prev != null) {
                            prev.next = e.next;
                        } else {
                            mapTable[index] = e.next;
                        }
                        return e;
                    }
                }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  2. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

        assertEquals("a", iterator.next());
        try {
          iterator.remove();
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      @SuppressWarnings("DoNotCall")
      public void testAdd() {
        ListIterator<String> iterator = create();
    
        assertTrue(iterator.hasNext());
        assertEquals("a", iterator.next());
        assertEquals("b", iterator.next());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

            assertThat(i.next(), is("bbb"));
            assertThat(i.next(), is("ccc"));
            assertThat(i.next(), is("aaa"));
            lru.put("ddd", "444");
            assertThat(lru.size(), is(3));
            assertThat(lru.get("bbb"), is(nullValue()));
            i = lru.keySet().iterator();
            assertThat(i.next(), is("ccc"));
            assertThat(i.next(), is("aaa"));
            assertThat(i.next(), is("ddd"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/DiscreteDomain.java

      @CheckForNull
      public abstract C previous(C value);
    
      /**
       * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or
       * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}.
       * For example, if {@code end = next(next(next(start)))}, then {@code distance(start, end) == 3}
       * and {@code distance(end, start) == -3}. As well, {@code distance(a, a)} is always zero.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashSet.java

       * part of the smeared hash of the element not covered by the hashtable mask, whereas the low bits
       * are the "next" pointer (pointing to the next entry in the bucket chain), which will always be
       * less than or equal to the hashtable mask.
       *
       * <pre>
       * hash  = aaaaaaaa
       * mask  = 00000fff
       * next  = 00000bbb
       * entry = aaaaabbb
       * </pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          private final StrongKeyStrongValueEntry<K, V> next;
    
          LinkedStrongKeyStrongValueEntry(K key, int hash, StrongKeyStrongValueEntry<K, V> next) {
            super(key, hash);
            this.next = next;
          }
    
          @Override
          public StrongKeyStrongValueEntry<K, V> getNext() {
            return next;
          }
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        if (supportsRemove) {
          int initialSize = map.size();
          boolean didRemove = entrySet.remove(entrySet.iterator().next());
          assertTrue(didRemove);
          assertEquals(initialSize - 1, map.size());
        } else {
          try {
            entrySet.remove(entrySet.iterator().next());
            fail("Expected UnsupportedOperationException.");
          } catch (UnsupportedOperationException expected) {
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         * stack so that it is returned by the next call to {@link Iterator#next()}. If the element is
         * not in {@link #nextElements}, this method throws an {@link UnknownElementException}.
         *
         * <p>This method is used when testing iterators without a known ordering. We poll the target
         * iterator's next element and pass it to the reference iterator through this method so it can
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. cmd/erasure-decode.go

    	p.readers = tmp
    	// next is the next non-preferred index.
    	next := 0
    	for i, ok := range prefer {
    		if !ok || p.readers[i] == nil {
    			continue
    		}
    		if i == next {
    			next++
    			continue
    		}
    		// Move reader with index i to index next.
    		// Do this by swapping next and i
    		p.readers[next], p.readers[i] = p.readers[i], p.readers[next]
    		p.readerToBuf[next] = i
    		p.readerToBuf[i] = next
    		next++
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.SocketException
    import java.net.UnknownHostException
    import java.util.NoSuchElementException
    import okhttp3.Address
    import okhttp3.HttpUrl
    import okhttp3.Route
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top