Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for tabling (0.36 sec)

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

       * @param size the desired size of each partition
       * @return an iterable of unmodifiable lists containing the elements of {@code iterable} divided
       *     into partitions (the final iterable may have trailing null elements)
       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
      public static <T extends @Nullable Object> Iterable<List<@Nullable T>> paddedPartition(
    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/ExecutionList.java

       * note that the execution order of all listeners is ultimately chosen by the implementations of
       * the supplied executors.
       *
       * <p>This method is idempotent. Calling it several times in parallel is semantically equivalent
       * to calling it exactly once.
       *
       * @since 10.0 (present in 1.0 as {@code run})
       */
      public void execute() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        node.thread = null; // mark as 'deleted'
        restart:
        while (true) {
          Waiter pred = null;
          Waiter curr = waiters;
          if (curr == Waiter.TOMBSTONE) {
            return; // give up if someone is calling complete
          }
          Waiter succ;
          while (curr != null) {
            succ = curr.next;
            if (curr.thread != null) { // we aren't unlinking this node, update pred.
              pred = curr;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code TreeSet} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * <p>This method is just a small convenience for creating an empty set and then calling {@link
       * Iterables#addAll}. This method is not very useful and will likely be deprecated in the future.
       *
    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)
  5. android/guava/src/com/google/common/collect/Multimaps.java

       * type {@code K}. Using an {@code EntryTransformer} key type for which this may not hold, such as
       * {@code ArrayList}, may risk a {@code ClassCastException} when calling methods on the
       * transformed multimap.
       *
       * @since 7.0
       */
      public static <
              K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
    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)
  6. android/guava/src/com/google/common/collect/Ordering.java

       * benchmarking
       * on Open JDK 7, {@link #immutableSortedCopy} generally performs better (in both time and space)
       * than this method, and this method in turn generally performs better than copying the list and
       * calling {@link Collections#sort(List)}.
       */
      // TODO(kevinb): rerun benchmarks including new options
      @SuppressWarnings("nullness") // TODO: b/316358623 - Remove after checker fix.
    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)
  7. 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)
  8. android/guava/src/com/google/common/collect/ImmutableSet.java

            }
          } else {
            super.add(elements);
          }
          return this;
        }
    
        private void addDeduping(E element) {
          requireNonNull(hashTable); // safe because we check for null before calling this method
          int mask = hashTable.length - 1;
          int hash = element.hashCode();
          for (int i = Hashing.smear(hash); ; i++) {
            i &= mask;
            Object previous = hashTable[i];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

       * {@code k.equals(k2)} implies that {@code k2} is also of type {@code K}. Using a key type for
       * which this may not hold, such as {@code ArrayList}, may risk a {@code ClassCastException} when
       * calling methods on the resulting map view.
       *
       * @since 14.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> asMap(
          Set<K> set, Function<? super K, V> function) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

       * @param size the desired size of each partition
       * @return an iterator of immutable lists containing the elements of {@code iterator} divided into
       *     partitions (the final iterable may have trailing null elements)
       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
      public static <T extends @Nullable Object>
    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