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 */ 16 17 class Statics { 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"; 27 getS0()28 static boolean getS0() { 29 return s0; 30 } getS1()31 static byte getS1() { 32 return s1; 33 } getS2()34 static char getS2() { 35 return s2; 36 } getS3()37 static short getS3() { 38 return s3; 39 } getS4()40 static int getS4() { 41 return s4; 42 } getS5()43 static long getS5() { 44 return s5; 45 } getS6()46 static float getS6() { 47 return s6; 48 } getS7()49 static double getS7() { 50 return s7; 51 } getS8()52 static String getS8() { 53 return s8; 54 } 55 } 56