Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 1,673 for Text (0.11 sec)

  1. android/guava/src/com/google/common/collect/CollectPreconditions.java

      /**
       * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent
       * error message.
       */
      static void checkRemove(boolean canRemove) {
        checkState(canRemove, "no calls to next() since the last call to remove()");
      }
    
      private CollectPreconditions() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/RequestTest.java

            }
    
            @Override
            public CommonServerMessageBlockRequest split() {
                return null;
            }
    
            @Override
            public boolean allowChain(CommonServerMessageBlockRequest next) {
                return true;
            }
    
            @Override
            public CommonServerMessageBlockRequest createCancel() {
                return null;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingNavigableSet.java

        return Iterators.pollNext(descendingIterator());
      }
    
      @ParametricNullness
      protected E standardFirst() {
        return iterator().next();
      }
    
      @ParametricNullness
      protected E standardLast() {
        return descendingIterator().next();
      }
    
      @Override
      public NavigableSet<E> descendingSet() {
        return delegate().descendingSet();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        return Multisets.immutableEntry(element, count);
      }
    
      private static <E extends @Nullable Object> Entry<E> control(E element, int count) {
        return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next();
      }
    
      public void testToString() {
        assertEquals("foo", entry("foo", 1).toString());
        assertEquals("bar x 2", entry("bar", 2).toString());
      }
    
      public void testToStringNull() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testKeySetIteratorRemove() {
        int initialSize = getNumElements();
        Iterator<K> iterator = getMap().keySet().iterator();
        iterator.next();
        iterator.remove();
        assertEquals(initialSize - 1, getMap().size());
        assertEquals(initialSize - 1, getMap().inverse().size());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. 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)));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/Suggester.java

                if (!createIndexResponse.isAcknowledged()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Could not create next index: {}", indexName);
                    }
                    throw new SuggesterException("Could not create next index: " + indexName);
                }
                client.admin().cluster().prepareHealth().setWaitForYellowStatus().execute().actionGet(suggestSettings.getClusterTimeout());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  8. src/main/java/org/codelibs/fess/helper/AbstractConfigHelper.java

        protected long reloadInterval = 1000L;
    
        /**
         * Update the configuration.
         */
        public void update() {
            CommonPoolUtil.execute(this::load);
        }
    
        /**
         * Wait for the next reloading.
         */
        protected void waitForNext() {
            if (reloadInterval > 0) {
                ThreadUtil.sleep(reloadInterval);
            }
        }
    
        /**
         * Load the configuration.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

       * a CountdownLatch).
       */
      @Throws(InterruptedException::class)
      public abstract fun dispatch(request: RecordedRequest): MockResponse
    
      /**
       * Returns an early guess of the next response, used for policy on how an incoming request should
       * be received. The default implementation returns an empty response. Mischievous implementations
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      }
    
      /** Snapshot iterator that works off copy of underlying q array. */
      private class Itr implements Iterator<E> {
        final Object[] array; // Array of all elements
        int cursor; // index of next element to return;
        int lastRet; // index of last element, or -1 if no such
    
        Itr(Object[] array) {
          lastRet = -1;
          this.array = array;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top