Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for laking (0.16 sec)

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

            final Iterator<? extends Entry<? extends E>> iterator1 = multiset1.entrySet().iterator();
            final Iterator<? extends Entry<? extends E>> iterator2 = multiset2.entrySet().iterator();
            // TODO(lowasser): consider making the entries live views
            return new AbstractIterator<Entry<E>>() {
              @Override
              @CheckForNull
              protected Entry<E> computeNext() {
                if (iterator1.hasNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Suppliers.java

        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a supplier whose {@code get()} method synchronizes on {@code delegate} before calling
       * it, making it thread-safe.
       */
      public static <T extends @Nullable Object> Supplier<T> synchronizedSupplier(
          Supplier<T> delegate) {
        return new ThreadSafeSupplier<>(delegate);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //
      // 1. What about leaving/unlocking? Are you going to do
      //    guard.enter() paired with monitor.leave()? That might get
      //    confusing. It's nice for the finally block to look as close as
      //    possible to the thing right before the try. You could have
      //    guard.leave(), but that's a little odd as well because the
      //    guard doesn't have anything to do with leaving. You can't
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

     * streams.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterables produced in this class
     * are <i>lazy</i>, which means that their iterators only advance the backing iteration when
     * absolutely necessary.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#iterables">{@code
     * Iterables}</a>.
     *
    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)
  5. android/guava/src/com/google/common/collect/Lists.java

       * use {@code new }{@link ArrayList#ArrayList(int) ArrayList}{@code <>(int)} directly, taking
       * advantage of <a href="http://goo.gl/iz2Wi">"diamond" syntax</a>. (Unlike here, there is no risk
       * of overload ambiguity, since the {@code ArrayList} constructors very wisely did not accept
       * varargs.)
       *
       * @param initialArraySize the exact size of the initial backing array for the returned array list
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

       * is unnecessary; for example, {@code copyOf(copyOf(anArrayList))} will copy the data only once.
       * This reduces the expense of habitually making defensive copies at API boundaries. However, the
       * precise conditions for skipping the copy operation are undefined.
       *
       * @throws NullPointerException if any of {@code elements} is null
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * backing map.
       *
       * <p>This instance will assume ownership of {@code countMap}, and other code should not maintain
       * references to the map or modify it in any way.
       *
       * <p>The returned multiset is serializable if the input map is.
       *
       * @param countMap backing map for storing the elements in the multiset and their counts. It must
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SortedLists.java

       * list must be sorted into ascending order according to the specified comparator (as by the
       * {@link Collections#sort(List, Comparator) Collections.sort(List, Comparator)} method), prior to
       * making this call. If it is not sorted, the results are undefined.
       *
       * <p>If there are elements in the list which compare as equal to the key, the choice of {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/BaseEncoding.java

     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public abstract class BaseEncoding {
      // TODO(lowasser): consider making encodeTo(Appendable, byte[], int, int) public.
    
      BaseEncoding() {}
    
      /**
       * Exception indicating invalid base-encoded input encountered while decoding.
       *
       * @author Louis Wasserman
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

    import java.util.Iterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Maps#transformValues} when the backing map's views have iterators that don't
     * support {@code remove()}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top