Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for raising (0.29 sec)

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

       * elements.
       *
       * <p>To cycle over the elements {@code n} times, use the following: {@code
       * Iterables.concat(Collections.nCopies(n, Arrays.asList(elements)))}
       *
       * <p><b>Java 8+ users:</b> If passing a single element {@code e}, the {@code Stream} equivalent
       * of this method is {@code Stream.generate(() -> e)}. Otherwise, put the elements in a collection
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * nodes. This is an O(n) operation in the common case (and O(n^2) in the worst), but we are saved
       * by two things.
       *
       * <ul>
       *   <li>This is only called when a waiting thread times out or is interrupted. Both of which
       *       should be rare.
       *   <li>The waiters list should be very short.
       * </ul>
       */
      private void removeWaiter(Waiter node) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       *
       * @param set the set of elements to construct a power set from
       * @return the power set, as an immutable set of immutable sets
       * @throws IllegalArgumentException if {@code set} has more than 30 unique elements (causing the
       *     power set size to exceed the {@code int} range)
       * @throws NullPointerException if {@code set} is or contains {@code null}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Support removal operations when filtering a filtered multimap. Since a filtered multimap has
       * iterators that don't support remove, passing one to the FilteredEntryMultimap constructor would
       * lead to a multimap whose removal operations would fail. This method combines the predicates to
       * avoid that problem.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

        return explicit(Lists.asList(leastValue, remainingValuesInOrder));
      }
    
      // Ordering<Object> singletons
    
      /**
       * Returns an ordering which treats all values as equal, indicating "no ordering." Passing this
       * ordering to any <i>stable</i> sort algorithm results in no change to the order of elements.
       * Note especially that {@link #sortedCopy} and {@link #immutableSortedCopy} are stable, and in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("b", consumingIterator.next());
        assertThat(list).isEmpty();
    
        assertFalse(consumingIterator.hasNext());
      }
    
      @GwtIncompatible // ?
      // TODO: Figure out why this is failing in GWT.
      public void testConsumingIterator_duelingIterators() {
        // Test data
        List<String> list = Lists.newArrayList("a", "b");
    
        // Test & Verify
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

       *
       * <p>The returned lists implement {@link java.util.RandomAccess}.
       *
       * <p><b>Note:</b> The current implementation eagerly allocates storage for {@code size} elements.
       * As a consequence, passing values like {@code Integer.MAX_VALUE} can lead to {@link
       * OutOfMemoryError}.
       *
       * @param iterator the iterator to return a partitioned view of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top