Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 925 for callable (0.42 sec)

  1. guava/src/com/google/common/collect/Iterables.java

       */
      public static <T extends @Nullable Object> Iterable<List<@Nullable T>> paddedPartition(
          Iterable<T> iterable, int size) {
        checkNotNull(iterable);
        checkArgument(size > 0);
        return new FluentIterable<List<@Nullable T>>() {
          @Override
          public Iterator<List<@Nullable T>> iterator() {
            return Iterators.paddedPartition(iterable.iterator(), size);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

        Multiset<N> adjacentNodes = getReference(adjacentNodesReference);
        if (adjacentNodes != null) {
          checkState(adjacentNodes.add(node));
        }
      }
    
      private static <T> @Nullable T getReference(@Nullable Reference<T> reference) {
        return (reference == null) ? null : reference.get();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

      static final RegularImmutableBiMap<Object, Object> EMPTY = new RegularImmutableBiMap<>();
    
      private final transient @Nullable Object keyHashTable;
      @VisibleForTesting final transient @Nullable Object[] alternatingKeysAndValues;
      private final transient int keyOffset; // 0 for K-to-V, 1 for V-to-K
      private final transient int size;
      private final transient RegularImmutableBiMap<V, K> inverse;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java

                DefaultToolchainsBuilderRequest(
                        @Nonnull ProtoSession session,
                        @Nullable RequestTrace trace,
                        @Nullable Source installationToolchainsSource,
                        @Nullable Source userToolchainsSource) {
                    super(session, trace);
                    this.installationToolchainsSource = installationToolchainsSource;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TableCollectors.java

                    mergeFunction),
            (s1, s2) -> s1.combine(s2, mergeFunction),
            state -> state.toTable());
      }
    
      static <
              T extends @Nullable Object,
              R extends @Nullable Object,
              C extends @Nullable Object,
              V,
              I extends Table<R, C, V>>
          Collector<T, ?, I> toTable(
              Function<? super T, ? extends R> rowFunction,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Cut.java

      abstract void describeAsLowerBound(StringBuilder sb);
    
      abstract void describeAsUpperBound(StringBuilder sb);
    
      abstract @Nullable C leastValueAbove(DiscreteDomain<C> domain);
    
      abstract @Nullable C greatestValueBelow(DiscreteDomain<C> domain);
    
      /*
       * The canonical form is a BelowValue cut whenever possible, otherwise ABOVE_ALL, or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/NullnessCasts.java

       * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the
       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Joiner.java

      }
    
      private static Iterable<@Nullable Object> iterable(
          @Nullable Object first, @Nullable Object second, @Nullable Object[] rest) {
        checkNotNull(rest);
        return new AbstractList<@Nullable Object>() {
          @Override
          public int size() {
            return rest.length + 2;
          }
    
          @Override
          public @Nullable Object get(int index) {
            switch (index) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java

    import java.util.Collection;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestCollectionGenerator<E extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.atomic.AtomicBoolean;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link GcFinalization}.
     *
     * @author Martin Buchholz
     * @author mike nonemacher
     */
    @AndroidIncompatible // depends on details of gc
    
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top