Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 388 for nilable (0.3 sec)

  1. guava-testlib/src/com/google/common/testing/NullPointerTester.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A test utility that verifies that your methods and constructors throw {@link
     * NullPointerException} or {@link UnsupportedOperationException} whenever null is passed to a
     * parameter whose declaration or type isn't annotated with an annotation with the simple name
     * {@code Nullable}, {@code CheckForNull}, {@code NullableType}, or {@code NullableDecl}.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterables.java

       */
      public static <T extends @Nullable Object> Iterable<List<@Nullable T>> paddedPartition(
          final Iterable<T> iterable, final 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);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

    import java.util.logging.Level;
    import java.util.logging.Logger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Emulation for AbstractFuture in GWT. */
    @SuppressWarnings("nullness") // TODO(b/147136275): Remove once our checker understands & and |.
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractFuture<V extends @Nullable Object> extends InternalFutureFailureAccess
        implements ListenableFuture<V> {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Derived suite generators, split out of the suite builders so that they are available to GWT.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class DerivedCollectionGenerators {
      public static class MapEntrySetGenerator<K extends @Nullable Object, V extends @Nullable Object>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

            }
          }
        };
    
        abstract <E extends @Nullable Object> void forEach(
            GeneralSpliterator<E> spliterator, Consumer<? super E> consumer);
    
        static final Set<SpliteratorDecompositionStrategy> ALL_STRATEGIES =
            unmodifiableSet(new LinkedHashSet<>(asList(values())));
      }
    
      private static <E extends @Nullable Object> @Nullable GeneralSpliterator<E> trySplitTestingSize(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class Helpers {
      // Clone of Objects.equal
      static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // Clone of Lists.newArrayList
      public static <E extends @Nullable Object> List<E> copyToList(Iterable<? extends E> elements) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCollectorRequest.java

                 */
                DefaultDependencyCollectorRequest(
                        @Nonnull Session session,
                        @Nullable Project project,
                        @Nullable Artifact rootArtifact,
                        @Nullable DependencyCoordinate root,
                        @Nonnull Collection<DependencyCoordinate> dependencies,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 11.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/PredicatesTest.java

          new Predicate<@Nullable Integer>() {
            @Override
            public boolean apply(@Nullable Integer i) {
              throw new AssertionFailedError("This predicate should never have been evaluated");
            }
          };
    
      /** Instantiable predicate with reasonable hashCode() and equals() methods. */
      static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Derived suite generators, split out of the suite builders so that they are available to GWT.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class DerivedCollectionGenerators {
      public static class MapEntrySetGenerator<K extends @Nullable Object, V extends @Nullable Object>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/OptionalTest.java

          Optional<String> unused =
              Optional.of("a")
                  .transform(
                      (Function<String, String>)
                          new Function<String, @Nullable String>() {
                            @Override
                            public @Nullable String apply(String input) {
                              return null;
                            }
                          });
          fail("Should throw if Function returns null.");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top