Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 338 for type (0.14 sec)

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

        for (Type type : types) {
          if (type == null || !visited.add(type)) {
            // null owner type, or already visited;
            continue;
          }
          boolean succeeded = false;
          try {
            if (type instanceof TypeVariable) {
              visitTypeVariable((TypeVariable<?>) type);
            } else if (type instanceof WildcardType) {
              visitWildcardType((WildcardType) type);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 16 21:10:04 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Defaults.java

          } else if (type == char.class) {
            return (T) Character.valueOf('\0');
          } else if (type == byte.class) {
            return (T) Byte.valueOf((byte) 0);
          } else if (type == short.class) {
            return (T) Short.valueOf((short) 0);
          } else if (type == int.class) {
            return (T) Integer.valueOf(0);
          } else if (type == long.class) {
            return (T) Long.valueOf(0L);
          } else if (type == float.class) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/ParametricNullness.java

     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/ParametricNullness.java

     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/ParametricNullness.java

     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
    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)
  6. android/guava/src/com/google/common/html/ParametricNullness.java

     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
    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)
  7. android/guava/src/com/google/common/cache/ParametricNullness.java

     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/EnumMultiset.java

      /** Creates an empty {@code EnumMultiset}. */
      private EnumMultiset(Class<E> type) {
        this.type = type;
        checkArgument(type.isEnum());
        this.enumConstants = type.getEnumConstants();
        this.counts = new int[enumConstants.length];
      }
    
      private boolean isActuallyE(@CheckForNull Object o) {
        if (o instanceof Enum) {
          Enum<?> e = (Enum<?>) o;
          int index = e.ordinal();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

         */
        @CanIgnoreReturnValue
        public <T extends B> Builder<B> putAll(Map<? extends Class<? extends T>, ? extends T> map) {
          for (Entry<? extends Class<? extends T>, ? extends T> entry : map.entrySet()) {
            Class<? extends T> type = entry.getKey();
            T value = entry.getValue();
            mapBuilder.put(type, cast(type, value));
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeCapture.java

    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    
    /**
     * Captures the actual type of {@code T}.
     *
     * @author Ben Yu
     */
    @ElementTypesAreNonnullByDefault
    abstract class TypeCapture<T> {
    
      /** Returns the captured type. */
      final Type capture() {
        Type superclass = getClass().getGenericSuperclass();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 16 21:10:04 GMT 2021
    - 1.2K bytes
    - Viewed (0)
Back to top