Home | History | Annotate | Download | only in src
      1 /*
      2  * Copyright (C) 2007 The Android Open Source Project
      3  *
      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
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     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.
     15  */
     16 
     17 class ArgsTest{
     18     public ArgsTest() {
     19 
     20     }
     21 
     22     private long mLongArray[] = new long[] {
     23         0x1122334455667788L, 0x9887766554433221L };
     24 
     25     /**
     26      *
     27      * @param a
     28      * @param c
     29      * @param d
     30      * @param j
     31      * @param f
     32      */
     33     void argTest(int a, char c, double d, long j, float f) {
     34         System.out.println("VALUES: " + Long.toHexString(mLongArray[0]) + " "
     35             + Long.toHexString(mLongArray[1]) + " " + Long.toHexString(j));
     36         System.out.println("VALUES: " + mLongArray[0] + " "
     37             + mLongArray[1] + " " + j);
     38 
     39         System.out.println(j);
     40         System.out.println("j = " + j);
     41         System.out.println("a=" + a + " c=" + c + " d=" + d
     42             + " j=" + j + " f=" + f);
     43     }
     44 }
     45