Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 854 for Nullable (0.04 sec)

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

              null, null, (Entry<Object, Object>[]) ImmutableMap.EMPTY_ENTRY_ARRAY, 0, 0);
    
      static final double MAX_LOAD_FACTOR = 1.2;
    
      private final transient @Nullable ImmutableMapEntry<K, V> @Nullable [] keyTable;
      private final transient @Nullable ImmutableMapEntry<K, V> @Nullable [] valueTable;
      @VisibleForTesting final transient Entry<K, V>[] entries;
      private final transient int mask;
      private final transient int hashCode;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

       *
       * @since 20.0 (varargs overload since 2.0)
       */
      @CanIgnoreReturnValue
      public static <T> T checkNotNull(
          @Nullable T reference,
          String errorMessageTemplate,
          @Nullable Object p1,
          @Nullable Object p2,
          @Nullable Object p3,
          @Nullable Object p4) {
        if (reference == null) {
          throw new NullPointerException(Platform.lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         * @return The interpolated string, or null if the input was null.
         */
        @Nullable
        String interpolate(
                @Nullable String val,
                @Nullable UnaryOperator<String> callback,
                @Nullable BinaryOperator<String> postprocessor,
                boolean defaultsToEmpty);
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jan 13 16:14:35 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null),
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null))
            .addEqualityGroup(Equivalence.equals().wrap("hello"))
            .addEqualityGroup(Equivalence.equals().<@Nullable Object>wrap(null))
            .testEquals();
      }
    
      public void testWrap_get() {
        String test = "test";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

      public void testWildcardFuture() {
        SettableFuture<String> settable = SettableFuture.create();
        ListenableFuture<?> f = settable;
        FutureCallback<@Nullable Object> callback =
            new FutureCallback<@Nullable Object>() {
              @Override
              public void onSuccess(@Nullable Object result) {}
    
              @Override
              public void onFailure(Throwable t) {}
            };
        addCallback(f, callback, directExecutor());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null),
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null))
            .addEqualityGroup(Equivalence.equals().wrap("hello"))
            .addEqualityGroup(Equivalence.equals().<@Nullable Object>wrap(null))
            .testEquals();
      }
    
      public void testWrap_get() {
        String test = "test";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

      }
    
      static boolean patternCompilerIsPcreLike() {
        throw new UnsupportedOperationException();
      }
    
      static String lenientFormat(@Nullable String template, @Nullable Object @Nullable ... args) {
        return Strings.lenientFormat(template, args);
      }
    
      static String stringValueOf(@Nullable Object o) {
        return String.valueOf(o);
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ExtraObjectsMethodsForWeb.java

     * the License.
     */
    
    package com.google.common.base;
    
    import org.jspecify.annotations.Nullable;
    
    /** Holder for extra methods of {@code Objects} only in web. */
    public abstract class ExtraObjectsMethodsForWeb {
      public static boolean equal(@Nullable String a, @Nullable String b) {
        return a == b;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 883 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Supplier<T> compose(
          Function<? super F, T> function, Supplier<F> supplier) {
        return new SupplierComposition<>(function, supplier);
      }
    
      private static final class SupplierComposition<
              F extends @Nullable Object, T extends @Nullable Object>
          implements Supplier<T>, Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

      @Override
      public <T extends B> @Nullable T putInstance(
          Class<@NonNull T> type, @ParametricNullness T value) {
        return cast(type, put(type, value));
      }
    
      @Override
      public <T extends @NonNull B> @Nullable T getInstance(Class<T> type) {
        return cast(type, get(type));
      }
    
      @CanIgnoreReturnValue
      private static <T> @Nullable T cast(Class<T> type, @Nullable Object value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top