Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 817 for Callable (0.04 sec)

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

       */
      public static MultimapBuilderWithKeys<@Nullable Object> linkedHashKeys(int expectedKeys) {
        checkNonnegative(expectedKeys, "expectedKeys");
        return new MultimapBuilderWithKeys<@Nullable Object>() {
          @Override
          <K extends @Nullable Object, V extends @Nullable Object> Map<K, Collection<V>> createMap() {
            return Platform.newLinkedHashMapWithExpectedSize(expectedKeys);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link AbstractLoadingCache}.
     *
     * @author Charles Fry
     */
    public class AbstractLoadingCacheTest extends TestCase {
    
      public void testGetUnchecked_checked() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Skeletal implementation of {@link NavigableMap}.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractNavigableMap<K extends @Nullable Object, V extends @Nullable Object>
        extends IteratorBasedAbstractMap<K, V> implements NavigableMap<K, V> {
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/TestListMultimapGenerator.java

    import com.google.common.collect.ListMultimap;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A generator for {@code ListMultimap} implementations based on test data.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestListMultimapGenerator<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

                DefaultProjectBuilderRequest(
                        @Nonnull Session session,
                        @Nullable Path path,
                        @Nullable Source source,
                        boolean allowStubModel,
                        boolean recursive,
                        boolean processPlugins,
                        @Nullable List<RemoteRepository> repositories) {
                    super(session);
                    this.path = path;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        List<@Nullable String> listWithNulls = asList("a", null, "b");
          assertThrows(NullPointerException.class, () -> builder.addAll((List<String>) listWithNulls));
        }
    
        {
          ImmutableList.Builder<String> builder = ImmutableList.builder();
        Iterator<@Nullable String> iteratorWithNulls =
            Arrays.<@Nullable String>asList("a", null, "b").iterator();
          assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      // stored in the builder, which may use it to throw an exception later.
      static <K, V> RegularImmutableMap<K, V> create(
          int n, @Nullable Object[] alternatingKeysAndValues, @Nullable Builder<K, V> builder) {
        if (n == 0) {
          @SuppressWarnings("unchecked")
          RegularImmutableMap<K, V> empty = (RegularImmutableMap<K, V>) EMPTY;
          return empty;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FilteredMultimap.java

    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An interface for all filtered multimap types.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    interface FilteredMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends Multimap<K, V> {
      Multimap<K, V> unfiltered();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/SortedMultisets.java

        }
      }
    
      private static <E extends @Nullable Object> E getElementOrThrow(@CheckForNull Entry<E> entry) {
        if (entry == null) {
          throw new NoSuchElementException();
        }
        return entry.getElement();
      }
    
      @CheckForNull
      private static <E extends @Nullable Object> E getElementOrNull(@CheckForNull Entry<E> entry) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

      public void testTransformEntrySetContains() {
        Map<@Nullable String, @Nullable Boolean> underlying = Maps.newHashMap();
        underlying.put("a", null);
        underlying.put("b", true);
        underlying.put(null, true);
    
        Map<@Nullable String, @Nullable Boolean> map =
            transformValues(
                underlying,
                new Function<@Nullable Boolean, @Nullable Boolean>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top