Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,050 for Nullable (0.15 sec)

  1. android/guava/src/com/google/common/reflect/ParametricNullness.java

     *       argument is non-nullable and (b) nullable when the type argument is nullable. We use this
     *       to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin
     *       under our current constraints.
     *   <li>NullAway, which will <a
     *       href="https://github.com/google/guava/issues/6126#issuecomment-1204399671">treat it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/xml/ParametricNullness.java

     *       argument is non-nullable and (b) nullable when the type argument is nullable. We use this
     *       to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin
     *       under our current constraints.
     *   <li>NullAway, which will <a
     *       href="https://github.com/google/guava/issues/6126#issuecomment-1204399671">treat it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * @param <U> the type returned by the function
         */
        public interface ClosingFunction5<
            V1 extends @Nullable Object,
            V2 extends @Nullable Object,
            V3 extends @Nullable Object,
            V4 extends @Nullable Object,
            V5 extends @Nullable Object,
            U extends @Nullable Object> {
          /**
           * Applies this function to five inputs, or throws an exception if unable to do so.
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * An XML reader request.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface XmlReaderRequest {
    
        @Nullable
        Path getPath();
    
        @Nullable
        URL getURL();
    
        @Nullable
        InputStream getInputStream();
    
        @Nullable
        Reader getReader();
    
        @Nullable
        Transformer getTransformer();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TablesTest.java

                Tables.<@Nullable Object, @Nullable Object, @Nullable Object>immutableCell(
                    null, null, null))
            .addEqualityGroup(
                Tables.<String, @Nullable Object, @Nullable Object>immutableCell("bar", null, null))
            .addEqualityGroup(
                Tables.<@Nullable Object, Integer, @Nullable Object>immutableCell(null, 2, null))
            .addEqualityGroup(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        Callable<@Nullable Void> callable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                assertEquals(Thread.currentThread().getName(), newName.get());
                return null;
              }
            };
        Callables.threadRenaming(callable, newName).call();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/HashMultimap.java

     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class HashMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends HashMultimapGwtSerializationDependencies<K, V> {
      private static final int DEFAULT_VALUES_PER_KEY = 2;
    
      @VisibleForTesting transient int expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsRow(rowKey);
        }
    
        @Override
        public @Nullable V get(Object rowKey, Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.get(rowKey, columnKey);
        }
    
        @Override
        public @Nullable V put(R rowKey, C columnKey, V value) {
          assertTrue(Thread.holdsLock(mutex));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/NullnessCasts.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Implementations of {@code Futures.transform*}. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings("nullness") // TODO(b/147136275): Remove once our checker understands & and |.
    abstract class AbstractTransformFuture<
            I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top