Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 925 for callable (0.04 sec)

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

       */
    
      @LazyInit private @Nullable ListenableFuture<V> delegateRef;
      @LazyInit private @Nullable ScheduledFuture<?> timer;
    
      private TimeoutFuture(ListenableFuture<V> delegate) {
        this.delegateRef = Preconditions.checkNotNull(delegate);
      }
    
      /** A runnable that is called when the delegate or the timer completes. */
      private static final class Fire<V extends @Nullable Object> implements Runnable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        assertMultimapRemainsUnmodified(multimap, originalEntries);
      }
    
      private static <E extends @Nullable Object> void assertCollectionsAreEquivalent(
          Collection<E> expected, Collection<E> actual) {
        assertIteratorsInOrder(expected.iterator(), actual.iterator());
      }
    
      private static <K extends @Nullable Object, V extends @Nullable Object>
          void assertMultimapRemainsUnmodified(Multimap<K, V> expected, List<Entry<K, V>> actual) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FunctionsTest.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Functions}.
     *
     * @author Mike Bostock
     * @author Vlad Patryshev
     */
    @GwtCompatible
    @NullMarked
    public class FunctionsTest extends TestCase {
    
      public void testIdentity_same() {
        Function<@Nullable String, @Nullable String> identity = Functions.identity();
        assertNull(identity.apply(null));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      /**
       * @since 12.0
       */
      @GwtIncompatible // NavigableSet
      @Override
      public @Nullable E lower(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, false).descendingIterator(), null);
      }
    
      /**
       * @since 12.0
       */
      @Override
      public @Nullable E floor(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, true).descendingIterator(), null);
      }
    
      /**
       * @since 12.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

        this.forward = forward;
      }
    
      @Override
      public int count(@Nullable Object element) {
        return forward.count(element);
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
        return forward.lastEntry();
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        return forward.firstEntry();
      }
    
      @Override
      public int size() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

                DefaultDependencyResolverRequest(
                        @Nonnull Session session,
                        @Nullable RequestTrace trace,
                        @Nonnull RequestType requestType,
                        @Nullable Project project,
                        @Nullable Artifact rootArtifact,
                        @Nullable DependencyCoordinates root,
                        @Nonnull Collection<DependencyCoordinates> dependencies,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Parameter.java

       * or reflection: Android VMs ignore the types of elements that aren't used.
       */
      private final @Nullable Object annotatedType;
    
      Parameter(
          Invokable<?, ?> declaration,
          int position,
          TypeToken<?> type,
          Annotation[] annotations,
          @Nullable Object annotatedType) {
        this.declaration = declaration;
        this.position = position;
        this.type = type;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractSequentialIterator.java

     */
    @GwtCompatible
    public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> {
      private @Nullable T nextOrNull;
    
      /**
       * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null,
       * creates a new empty iterator.
       */
      protected AbstractSequentialIterator(@Nullable T firstOrNull) {
        this.nextOrNull = firstOrNull;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return delegateList.copyIntoArray(dst, offset);
      }
    
      @Override
      @Nullable Object @Nullable [] internalArray() {
        return delegateList.internalArray();
      }
    
      @Override
      int internalArrayStart() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

         * Check if the personality is "maven3".
         */
        public static boolean mavenMaven3Personality(@Nullable Map<String, ?> userProperties) {
            return doGet(userProperties, Constants.MAVEN_MAVEN3_PERSONALITY, false);
        }
    
        /**
         * Check if the consumer POM feature is active.
         */
        public static boolean consumerPom(@Nullable Map<String, ?> userProperties) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top