Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for Nelson (0.19 sec)

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

        List<@Nullable Present<V>> localValues = values;
        if (localValues != null) {
          set(combine(localValues));
        }
      }
    
      @Override
      void releaseResources(ReleaseResourcesReason reason) {
        super.releaseResources(reason);
        this.values = null;
      }
    
      abstract C combine(List<@Nullable Present<V>> values);
    
      /** Used for {@link Futures#allAsList} and {@link Futures#successfulAsList}. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMapValues.java

    import java.io.Serializable;
    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    
    /**
     * {@code values()} implementation for {@link ImmutableMap}.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ImmutableMapValues<K, V> extends ImmutableCollection<V> {
      private final ImmutableMap<K, V> map;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

       */
      @Override
      protected void expectContents(Collection<E> expectedCollection) {
        List<E> expectedList = Helpers.copyToList(expectedCollection);
        // Avoid expectEquals() here to delay reason manufacture until necessary.
        if (getList().size() != expectedList.size()) {
          fail("size mismatch: " + reportContext(expectedList));
        }
        for (int i = 0; i < expectedList.size(); i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMapValues.java

    import java.util.Map.Entry;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import javax.annotation.CheckForNull;
    
    /**
     * {@code values()} implementation for {@link ImmutableMap}.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ImmutableMapValues<K, V> extends ImmutableCollection<V> {
      private final ImmutableMap<K, V> map;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicate.java

       *     arguments
       */
      boolean apply(@ParametricNullness T input);
    
      /**
       * Indicates whether another object is equal to this predicate.
       *
       * <p>Most implementations will have no reason to override the behavior of {@link Object#equals}.
       * However, an implementation may also choose to return {@code true} whenever {@code object} is a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

    import java.util.Arrays;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    
    /**
     * Generators of sorted maps and derived collections.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     * @author Hayward Chan
     * @author Chris Povirk
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class SortedMapGenerators {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

    import java.util.Spliterator;
    import java.util.function.Predicate;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link ImmutableCollection}.
     *
     * @author Jesse Wilson
     */
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableCollection<E> extends AbstractCollection<E> implements Serializable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      }
    
      // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
      // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise.
      // For the same reason, we need to skip create(Iterable, Class).
      private static class EnumMultisetFactory {
        public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
          return EnumMultiset.create(elements);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      }
    
      /**
       * Just like fail(reason), but additionally recording (using threadRecordFailure) any
       * AssertionFailedError thrown, so that the current testcase will fail.
       */
      public void threadFail(String reason) {
        try {
          fail(reason);
        } catch (AssertionFailedError t) {
          threadRecordFailure(t);
          fail(reason);
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * java.util.LinkedHashMap}. Generally speaking, this class reduces object allocation and memory
     * consumption at the price of moderately increased constant factors of CPU. Only use this class
     * when there is a specific reason to prioritize memory over CPU.
     *
     * @author Louis Wasserman
     */
    @J2ktIncompatible // no support for access-order mode in LinkedHashMap delegate
    @GwtIncompatible // not worth using in GWT for now
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top