Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 1,057 for ctype2 (0.25 seconds)

  1. android/guava/src/com/google/common/primitives/Primitives.java

        checkNotNull(type);
    
        // cast is safe: long.class and Long.class are both of type Class<Long>
        @SuppressWarnings("unchecked")
        Class<T> wrapped = (Class<T>) PRIMITIVE_TO_WRAPPER_TYPE.get(type);
        return (wrapped == null) ? type : wrapped;
      }
    
      /**
       * Returns the corresponding primitive type of {@code type} if it is a wrapper type; otherwise
       * returns {@code type} itself. Idempotent.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Defaults.java

       * {@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) {
            return (T) Boolean.FALSE;
          } else if (type == char.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)
  3. src/main/java/org/codelibs/core/beans/MethodDesc.java

        /**
         * Returns the element type if the return type of the method is a parameterized {@link Collection}.
         *
         * @return the element type if the return type of the method is a parameterized {@link Collection}, otherwise {@literal null}
         */
        Class<?> getElementClassOfCollection();
    
        /**
         * Returns the key type if the return type of the method is a parameterized {@link Map}.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/labeltype/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing label types in the admin interface.
     * This form extends CreateForm to include fields necessary for updating existing label type entries,
     * including tracking information for optimistic locking and audit trails.
     * Label types are used to categorize and filter documents in search results.
     *
     */
    public class EditForm extends CreateForm {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * <p>
         * If <code>type</code> is not an array of parameterized types, <code>null</code> is returned.
         * </p>
         *
         * @param type
         *            the type to analyze
         * @return the element type of the array, or null if not an array of parameterized types
         */
        public static Type getElementTypeOfArray(final Type type) {
            if (!(type instanceof GenericArrayType)) {
                return null;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/lang/ClassUtil.java

            primitiveNameToClassMap.put(Boolean.TYPE.getName(), Boolean.TYPE);
            primitiveNameToClassMap.put(Character.TYPE.getName(), Character.TYPE);
            primitiveNameToClassMap.put(Byte.TYPE.getName(), Byte.TYPE);
            primitiveNameToClassMap.put(Short.TYPE.getName(), Short.TYPE);
            primitiveNameToClassMap.put(Integer.TYPE.getName(), Integer.TYPE);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/beans/ConstructorDesc.java

        /**
         * Returns the key type if the parameter type of the method is a parameterized {@link Map}.
         *
         * @param index
         *            The index of the parameter
         * @return The key type if the parameter type is a parameterized {@link Map}, otherwise {@literal null}
         */
        Class<?> getKeyClassOfMap(int index);
    
        /**
         * Returns the value type if the parameter type of the method is a parameterized {@link Map}.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/beans/BeanDesc.java

         * @return The class of the Bean
         */
        <T> Class<T> getBeanClass();
    
        /**
         * Returns a map from type variables to type arguments.
         *
         * @return A map from type variables to type arguments
         */
        Map<TypeVariable<?>, Type> getTypeVariables();
    
        /**
         * Returns whether the {@link PropertyDesc} exists.
         *
         * @param propertyName
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/MediaType.java

     * (also known as a MIME Type or Content Type). This class also supports the concept of media ranges
     * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1">defined by HTTP/1.1</a>.
     * As such, the {@code *} character is treated as a wildcard and is used to represent any acceptable
     * type or subtype value. A media type may not have wildcard type with a declared subtype. The
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/reflect/Invokable.java

          if (types.length > 0 && mayNeedHiddenThis()) {
            Class<?>[] rawParamTypes = constructor.getParameterTypes();
            if (types.length == rawParamTypes.length
                && rawParamTypes[0] == getDeclaringClass().getEnclosingClass()) {
              // first parameter is the hidden 'this'
              return Arrays.copyOfRange(types, 1, types.length);
            }
          }
          return types;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 18.5K bytes
    - Click Count (0)
Back to Top