Lines Matching refs:klass
113 Class<T> klass = (Class<T>) array.getClass();
115 if (!klass.isArray()) {
119 Class<?> componentClass = klass.getComponentType();
126 if (klass == int.class) {
128 } else if (klass == float.class) {
130 } else if (klass == double.class) {
132 } else if (klass == short.class) {
134 } else if (klass == char.class) {
136 } else if (klass == long.class) {
138 } else if (klass == byte.class) {
172 Class<? extends Number> klass = value.getClass();
174 if (VERBOSE) Log.v(TAG, "toByteArray - number " + i + ", class " + klass);
176 if (klass == Integer.class) {
178 } else if (klass == Float.class) {
180 } else if (klass == Double.class) {
182 } else if (klass == Short.class) {
184 } else if (klass == Long.class) {
186 } else if (klass == Byte.class) {
215 Class<T> klass = (Class<T>) array.getClass();
217 if (!klass.isArray()) {
224 if (klass == byte[].class) {
231 if (klass == int[].class) {
233 } else if (klass == float[].class) {
235 } else if (klass == double[].class) {
237 } else if (klass == short[].class) {
239 } else if (klass == char[].class) {
241 } else if (klass == long[].class) {