- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for isPrimitive (0.12 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 23K bytes - Viewed (0) -
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);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.3K bytes - Viewed (0) -
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)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.5K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
+ "Subscriber methods must have exactly 1 parameter.", method, parameterTypes.length); checkArgument( !parameterTypes[0].isPrimitive(), "@Subscribe method %s's parameter is %s. " + "Subscriber methods cannot accept primitives. " + "Consider changing the parameter to %s.", method,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 10.8K bytes - Viewed (0) -
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)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
* @return 引数を適合するように変換した場合は{@literal true} */ protected static boolean adjustNumber(final Class<?>[] paramTypes, final Object[] args, final int index) { if (paramTypes[index].isPrimitive()) { if (paramTypes[index] == byte.class) { args[index] = ByteConversionUtil.toByte(args[index]); return true; } else if (paramTypes[index] == short.class) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 26.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
} else { return TypeToken.of(instance.getClass()).method(method); } } static boolean isPrimitiveOrNullable(Parameter param) { return param.getType().getRawType().isPrimitive() || isNullable(param); } private static final ImmutableSet<String> NULLABLE_ANNOTATION_SIMPLE_NAMES = ImmutableSet.of("CheckForNull", "Nullable", "NullableDecl", "NullableType");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
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); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 27.5K bytes - Viewed (0)