Elliott Hughes | 2faa5f1 | 2012-01-30 14:42:07 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 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 | */ |
Brian Carlstrom | 9f30b38 | 2011-08-28 22:41:38 -0700 | [diff] [blame] | 16 | |
| 17 | class Statics { |
jeffhao | abcfde3 | 2011-09-29 15:05:18 -0700 | [diff] [blame] | 18 | static final boolean s0 = true; |
| 19 | static final byte s1 = 5; |
| 20 | static final char s2 = 'a'; |
| 21 | static final short s3 = (short) 65000; |
| 22 | static final int s4 = 2000000000; |
| 23 | static final long s5 = 0x1234567890abcdefL; |
| 24 | static final float s6 = 0.5f; |
| 25 | static final double s7 = 16777217; |
| 26 | static final String s8 = "android"; |
Brian Carlstrom | 193a44d | 2011-09-04 12:01:42 -0700 | [diff] [blame] | 27 | |
| 28 | static boolean getS0() { |
| 29 | return s0; |
| 30 | } |
| 31 | static byte getS1() { |
| 32 | return s1; |
| 33 | } |
| 34 | static char getS2() { |
| 35 | return s2; |
| 36 | } |
| 37 | static short getS3() { |
| 38 | return s3; |
| 39 | } |
| 40 | static int getS4() { |
| 41 | return s4; |
| 42 | } |
| 43 | static long getS5() { |
| 44 | return s5; |
| 45 | } |
| 46 | static float getS6() { |
| 47 | return s6; |
| 48 | } |
| 49 | static double getS7() { |
| 50 | return s7; |
| 51 | } |
jeffhao | abcfde3 | 2011-09-29 15:05:18 -0700 | [diff] [blame] | 52 | static String getS8() { |
Brian Carlstrom | 193a44d | 2011-09-04 12:01:42 -0700 | [diff] [blame] | 53 | return s8; |
| 54 | } |
Brian Carlstrom | 9f30b38 | 2011-08-28 22:41:38 -0700 | [diff] [blame] | 55 | } |