Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for BooleanLiteral (0.32 seconds)

  1. guava/src/com/google/common/base/Defaults.java

       * false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and
       * {@code void}, {@code null} is returned.
       */
      @SuppressWarnings({
        "unchecked",
        "BooleanLiteral" // `(T) false` would produce an error
      })
      public static <T> @Nullable T defaultValue(Class<T> type) {
        checkNotNull(type);
        if (type.isPrimitive()) {
          if (type == boolean.class) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Defaults.java

       * false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and
       * {@code void}, {@code null} is returned.
       */
      @SuppressWarnings({
        "unchecked",
        "BooleanLiteral" // `(T) false` would produce an error
      })
      public static <T> @Nullable T defaultValue(Class<T> type) {
        checkNotNull(type);
        if (type.isPrimitive()) {
          if (type == boolean.class) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 2.2K bytes
    - Click Count (0)
Back to Top