Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 443 for whale (0.23 sec)

  1. android/guava/src/com/google/common/collect/package-info.java

     *       fulfills the {@link java.util.List} contract.
     *   <dt>{@link SetMultimap}
     *   <dd>An extension of {@link Multimap} which has order-independent equality and does not allow
     *       duplicate entries; that is, while a key may appear twice in a {@code SetMultimap}, each
     *       must map to a different value. {@code SetMultimap} takes its name from the fact that the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        try {
          queue.dispatch();
        } finally {
          logger.removeHandler(logHandler);
        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/CollectorTester.java

              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              push(stack, newAccum);
            }
            push(stack, collector.supplier().get());
            while (stack.size() > 1) {
              A right = pop(stack);
              A left = pop(stack);
              push(stack, collector.combiner().apply(left, right));
            }
            return pop(stack);
          }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

       * out of it for a while and see what happens.
       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
          ImmutableLongArray.Builder builder = ImmutableLongArray.builder(RANDOM.nextInt(20));
          AtomicLong counter = new AtomicLong(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Throwables.java

        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
          if (throwable == slowPointer) {
            throw new IllegalArgumentException("Loop in causal chain detected.", throwable);
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Throwables.java

        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
          if (throwable == slowPointer) {
            throw new IllegalArgumentException("Loop in causal chain detected.", throwable);
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/HashBiMap.java

        }
      }
    
      /**
       * An {@code Entry} implementation that attempts to follow its key around the map -- that is, if
       * the key is moved, deleted, or reinserted, it will account for that -- while not doing any extra
       * work if the key has not moved. One quirk: The {@link #getValue()} method can return {@code
       * null} even for a map which supposedly does not contain null elements, if the key is not present
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Collections2.java

         * </ul>
         */
        private static <E> int calculateSize(
            List<E> sortedInputList, Comparator<? super E> comparator) {
          int permutations = 1;
          int n = 1;
          int r = 1;
          while (n < sortedInputList.size()) {
            int comparison = comparator.compare(sortedInputList.get(n - 1), sortedInputList.get(n));
            if (comparison < 0) {
              // We move to the next non-repeated element.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/UrlEscapers.java

       * unescaped, they would be escaped by the consumer at parse time, anyway.</a>) Additionally, the
       * escaper escapes the slash character ("/"). While slashes are acceptable in URL paths, they are
       * considered by the specification to be separators between "path segments." This implies that, if
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
       * returns an {@code ImmutableSortedSet<String>} containing each of the strings in {@code s},
       * while {@code ImmutableSortedSet.of(s)} returns an {@code ImmutableSortedSet<Set<String>>}
       * containing one element (the given set itself).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top