Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Deleted (0.31 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * the given future (if available).
       */
      final void maybePropagateCancellationTo(@CheckForNull Future<?> related) {
        if (related != null & isCancelled()) {
          related.cancel(wasInterrupted());
        }
      }
    
      /** Releases all threads in the {@link #waiters} list, and clears the list. */
      private void releaseWaiters() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<List<Integer>> degenerate = Sets.cartesianProduct();
        checkHashCode(degenerate);
    
        checkHashCode(Sets.cartesianProduct(set(1, 2)));
    
        int num = Integer.MAX_VALUE / 3 * 2; // tickle overflow-related problems
        checkHashCode(Sets.cartesianProduct(set(1, 2, num)));
    
        Set<Integer> mt = emptySet();
        checkHashCode(Sets.cartesianProduct(mt, mt));
        checkHashCode(Sets.cartesianProduct(mt, set(num)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * {@link Predicate#apply}. Do not provide a predicate such as {@code
       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link
       * Iterables#filter(Iterable, Class)} for related functionality.)
       *
       * <p><b>Java 8+ users:</b> many use cases for this method are better addressed by {@link
       * java.util.stream.Stream#filter}. This method is not being deprecated, but we gently encourage
    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. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenTest extends TestCase {
    
      private abstract static class StringList implements List<String> {}
    
      private abstract static class IntegerList implements List<Integer> {}
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * works well for hash tables since the bin lists tend to be short. (The average length is less
         * than two.)
         *
         * Read operations can thus proceed without locking, but rely on selected uses of volatiles to
         * ensure that completed write operations performed by other threads are noticed. For most
         * purposes, the "count" field, tracking the number of elements, serves as that volatile
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

       * once after loading completes). Much internal cache management is performed at the segment
       * granularity. For example, access queues and write queues are kept per segment when they are
       * required by the selected eviction algorithm. As such, when writing unit tests it is not
       * uncommon to specify {@code concurrencyLevel(1)} in order to achieve more deterministic eviction
       * behavior.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterators.java

            return next;
          }
    
          @Override
          public String toString() {
            return "Iterators.consumingIterator(...)";
          }
        };
      }
    
      /**
       * Deletes and returns the next value from the iterator, or returns {@code null} if there is no
       * such value.
       */
      @CheckForNull
      static <T extends @Nullable Object> T pollNext(Iterator<T> iterator) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

            return next;
          }
    
          @Override
          public String toString() {
            return "Iterators.consumingIterator(...)";
          }
        };
      }
    
      /**
       * Deletes and returns the next value from the iterator, or returns {@code null} if there is no
       * such value.
       */
      @CheckForNull
      static <T extends @Nullable Object> T pollNext(Iterator<T> iterator) {
    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)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class TypeTokenTest extends TestCase {
    
      private abstract static class StringList implements List<String> {}
    
      private abstract static class IntegerList implements List<Integer> {}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top