Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for chen (2.18 sec)

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

       * elements. The generated map is sorted by the specified comparator.
       *
       * <p>If the mapped keys contain duplicates (according to the specified comparator), an {@code
       * IllegalArgumentException} is thrown when the collection operation is performed. (This differs
       * from the {@code Collector} returned by {@link Collectors#toMap(Function, Function)}, which
       * throws an {@code IllegalStateException}.)
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * <p>If the supplied future is {@linkplain #isDone done} when this method is called and the call
       * is accepted, then this future is guaranteed to have been completed with the supplied future by
       * the time this method returns. If the supplied future is not done and the call is accepted, then
       * the future will be <i>set asynchronously</i>. Note that such a result, though not yet known,
    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/Synchronized.java

     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    /*
     * I have decided not to bother adding @ParametricNullness annotations in this class. Adding them is
     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
     * publicly visible subclass), and I doubt any of our current or future Kotlin extensions for the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>The resulting set's iterator does not support {@code remove()}, but all other set methods
       * are supported. When given an element that doesn't satisfy the predicate, the set's {@code
       * add()} and {@code addAll()} methods throw an {@link IllegalArgumentException}. When methods
       * such as {@code removeAll()} and {@code clear()} are called on the filtered set, only elements
    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/MapMakerInternalMap.java

         * make sure they see a consistent snapshot: If modCounts change during a traversal of segments
         * computing size or checking containsValue, then we might have an inconsistent view of state so
         * (usually) must retry.
         */
        int modCount;
    
        /**
         * The table is expanded when its size exceeds this threshold. (The value of this field is
         * always {@code (int) (capacity * 0.75)}.)
         */
        int threshold;
    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. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * // Falling back to a zero counter in case an exception happens when
       * // processing the RPC to fetch counters.
       * ListenableFuture<Integer> faultTolerantFuture = Futures.catching(
       *     fetchCounterFuture, FetchException.class, x -> 0, directExecutor());
       * }</pre>
       *
       * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. See
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>The multimap is not threadsafe when any concurrent operations update the multimap, even if
       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
    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)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> itr2 = Iterators.concat(itr1, singletonIterator("d"));
        assertEquals("c", itr2.next());
        assertEquals("d", itr2.next());
      }
    
      /** Illustrates the somewhat bizarre behavior when a null is passed in. */
      public void testConcatContainingNull() {
        Iterator<Iterator<Integer>> input =
            (Iterator<Iterator<Integer>>)
    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)
  9. android/guava/src/com/google/common/collect/Iterators.java

              ConcatenatedIterator<T> topConcat = (ConcatenatedIterator<T>) iterator;
              iterator = topConcat.iterator;
    
              // topConcat.topMetaIterator, then topConcat.metaIterators, then this.topMetaIterator,
              // then this.metaIterators
    
              if (this.metaIterators == null) {
                this.metaIterators = new ArrayDeque<>();
              }
    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