Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1791 - 1800 of 2,287 for Text (0.11 seconds)

  1. guava/src/com/google/common/collect/SortedLists.java

       */
      enum KeyAbsentBehavior {
        /**
         * Return the index of the next lower element in the list, or {@code -1} if there is no such
         * element.
         */
        NEXT_LOWER {
          @Override
          int resultIndex(int higherIndex) {
            return higherIndex - 1;
          }
        },
        /**
         * Return the index of the next higher element in the list, or {@code list.size()} if there is
         * no such element.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/collection/SingleValueIteratorTest.java

        /**
         *
         */
        @Test
        public void test() {
            final SingleValueIterator<String> it = new SingleValueIterator<String>("Foo");
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("Foo"));
            assertThat(it.hasNext(), is(not(true)));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/collection/IteratorEnumeration.java

        }
    
        @Override
        public boolean hasMoreElements() {
            return iterator.hasNext();
        }
    
        @Override
        public T nextElement() {
            return iterator.next();
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java

            StringBuilder buffer = new StringBuilder("ManagedVersionMap (" + size() + " entries)\n");
            Iterator<String> iter = keySet().iterator();
            while (iter.hasNext()) {
                String key = iter.next();
                buffer.append(key).append('=').append(get(key));
                if (iter.hasNext()) {
                    buffer.append('\n');
                }
            }
            return buffer.toString();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt

    import java.io.IOException
    import okhttp3.Interceptor
    import okhttp3.Response
    import okhttp3.internal.http.RealInterceptorChain
    
    /**
     * Opens a connection to the target server and proceeds to the next interceptor. The network might
     * be used for the returned response, or to validate a cached response with a conditional GET.
     */
    object ConnectInterceptor : Interceptor {
      @Throws(IOException::class)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                    // Look ahead to find [source, ...] until next sample or end of example block
                    String sourceLang = null;
                    for (int j = i + 1; j < lines.size(); j++) {
                        String look = lines.get(j).trim();
    
                        if (look.equals("[.multi-language-sample]") || look.equals("====")) {
                            break; // stop at next sample or end of example block
                        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        @Override
        public void prepare(final CommonServerMessageBlockRequest next) {
            final CommonServerMessageBlockResponse n = getNextResponse();
            if (n != null) {
                n.prepare(next);
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#reset()
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java

         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#allowChain(jcifs.internal.CommonServerMessageBlockRequest)
         */
        @Override
        public boolean allowChain(final CommonServerMessageBlockRequest next) {
            return false;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#split()
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

        Entry<String, String> entry = iter.next();
        assertThat(entry.getKey()).isEqualTo("Hello");
        assertThat(entry.getValue()).isEqualTo("World");
        assertTrue(iter.hasNext());
    
        entry = iter.next();
        assertThat(entry.getKey()).isEqualTo("first");
        assertThat(entry.getValue()).isEqualTo("second");
        assertTrue(iter.hasNext());
    
        entry = iter.next();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertEquals(expectedPermutation, permutations.next());
      }
    
      private <T> void assertNoMorePermutations(Iterator<List<T>> permutations) {
        assertFalse("Expected no more permutations, but there was one.", permutations.hasNext());
        try {
          permutations.next();
          fail("Expected NoSuchElementException.");
        } catch (NoSuchElementException expected) {
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
Back to Top