2 * Copyright (C) 2007 The Android Open Source Project
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 public static void test01(Object x) {
23 public static Object test02() {
28 public static String test03(int x) {
33 public static String test04(int x) {
41 public static int test05(Object x) {
42 int[] arr = (int[]) x;
47 public static int test06(int x) {
57 // Test for representation of boolean.
58 public static void test07(boolean x) {
62 // Test for representation of byte.
63 public static void test08(byte x) {
67 // Test for representation of char.
68 public static void test09(char x) {
72 // Test for representation of double.
73 public static void test10(double x) {
77 // Test for representation of float.
78 public static void test11(float x) {
82 // Test for representation of int.
83 public static void test12(int x) {
87 // Test for representation of long.
88 public static void test13(long x) {
92 // Test for representation of short.
93 public static void test14(short x) {
97 // Test for representation of Object.
98 public static void test15(Object x) {
102 // Test for representation of String (as a token example of a non-Object
104 public static void test16(String x) {
108 // Test for representation of int[] (as a token example of an array class).
109 public static void test17(int[] x) {