Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 20 for isPrimitive (0.07 seconds)

  1. src/main/java/org/codelibs/core/io/SerializeUtil.java

                return ObjectInputFilter.Status.UNDECIDED;
            }
    
            final String className = serialClass.getName();
    
            // Allow primitive types and their wrappers
            if (serialClass.isPrimitive() || serialClass.isArray()) {
                return ObjectInputFilter.Status.ALLOWED;
            }
    
            // Check against allowed patterns
            for (String allowedPattern : DEFAULT_ALLOWED_PATTERNS) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

            }
    
            private boolean isQualifiedForInterpolation(Field field, Class<?> fieldType) {
                if (!PRIMITIVE_BY_CLASS.containsKey(fieldType)) {
                    PRIMITIVE_BY_CLASS.put(fieldType, fieldType.isPrimitive());
                }
    
                if (PRIMITIVE_BY_CLASS.get(fieldType)) {
                    return false;
                }
    
                return !"parent".equals(field.getName());
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/Types.java

            // Bounds after the first can only be interfaces.
            if (componentType instanceof Class) {
              Class<?> componentClass = (Class<?>) componentType;
              if (componentClass.isPrimitive()) {
                return componentClass;
              }
            }
            return subtypeOf(componentType);
          }
        }
        return null;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            return new String(buf);
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public <T> T convertIfNeed(final Object arg) {
            if (propertyType.isPrimitive()) {
                return (T) convertPrimitiveWrapper(arg);
            } else if (Number.class.isAssignableFrom(propertyType)) {
                return (T) convertNumber(arg);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                // to convert our primitive type signature to the
                // corresponding Object type so introspection for
                // methods with primitive types will work correctly.
                if (parameterType.isPrimitive()) {
                    if (parameterType.equals(Boolean.TYPE)) {
                        methodKey.append("java.lang.Boolean");
                    } else if (parameterType.equals(Byte.TYPE)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                    if (InputLocation.class.equals(fieldType)) {
                        return false;
                    }
    
                    //noinspection SimplifiableIfStatement
                    if (fieldType.isPrimitive()) {
                        return false;
                    }
    
                    return !"parent".equals(field.getName());
                }
    
                CacheItem(Class clazz) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            }
    
            // use temporary Key as quick way to auto-box primitive types into their equivalent object types
            final TypeLiteral<?> boxedType =
                    rawType.isPrimitive() ? Key.get(rawType).getTypeLiteral() : toType;
    
            for (final TypeConverterBinding b : typeConverterBindings) {
                if (b.getTypeMatcher().matches(boxedType)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/lang/ClassUtil.java

            assertArgumentNotNull("toClass", toClass);
            assertArgumentNotNull("fromClass", fromClass);
    
            if (toClass == Object.class && !fromClass.isPrimitive()) {
                return true;
            }
            if (toClass.isPrimitive()) {
                fromClass = getPrimitiveClassIfWrapper(fromClass);
            }
            return toClass.isAssignableFrom(fromClass);
        }
    
        /**
    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)
  9. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      private static void assertIsPrimitive(TypeToken<?> type) {
        assertTrue(type.isPrimitive());
        assertNotWrapper(type);
        assertEquals(TypeToken.of(Primitives.wrap((Class<?>) type.getType())), type.wrap());
      }
    
      private static void assertNotPrimitive(TypeToken<?> type) {
        assertFalse(type.isPrimitive());
        assertThat(type.wrap()).isEqualTo(type);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      private static void assertIsPrimitive(TypeToken<?> type) {
        assertTrue(type.isPrimitive());
        assertNotWrapper(type);
        assertEquals(TypeToken.of(Primitives.wrap((Class<?>) type.getType())), type.wrap());
      }
    
      private static void assertNotPrimitive(TypeToken<?> type) {
        assertFalse(type.isPrimitive());
        assertThat(type.wrap()).isEqualTo(type);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
Back to Top