Method isPrimitive()
Return type: boolean
Member of: java.lang.Class
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 if (classes[i].isPrimitive()) {
2 if (klass.isPrimitive()) {
3 if (! c.isPrimitive()) return c;
4 if (indexedProperty.getElementType().isPrimitive()) {
5 if (type.isPrimitive()) {
6 if (cls.isPrimitive()) return cls.getName();
7 if (c.isPrimitive()) {
8 Class realDesiredClass = ( desiredClass.isPrimitive() ?
9 if (javaType.isPrimitive()) {
10 if (primitiveClasses[i].isPrimitive()) {
11 if (!javaType.isPrimitive()) {
12 if (ccls.isPrimitive()) {
13 if (!valueType.isPrimitive() && !FINAL_IMMUTABLE_CLASSES.contains(valueType))
14 if (clazz.isPrimitive()) {
15 else if (clazz.isPrimitive()) {
16 if (retType.isPrimitive()) {
17 } else if (resultClass.isPrimitive()) {
18 if (type != null && obj != null && !type.isPrimitive() && !type.isAssignableFrom(obj.getClass()))
19 if (c.isPrimitive()) {
20 if (!type.isPrimitive())
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.