01: /*
02: * Copyright 2007 Google Inc.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
05: * use this file except in compliance with the License. You may obtain a copy of
06: * the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13: * License for the specific language governing permissions and limitations under
14: * the License.
15: */
16: package com.google.gwt.emultest.java.lang;
17:
18: /**
19: * Interface to contain constants shared between StringTest.java and String.java
20: */
21: public class C {
22: public static String FLOAT_STRING = "123.4599";
23: public static String DOUBLE_STRING = "123.4599";
24: public static float FLOAT_VALUE = 123.459980f;
25: public static double DOUBLE_VALUE = 123.459980d;
26: public static char CHAR_VALUE = 'd';
27: public static String CHAR_STRING = "d";
28: public static String CHAR_ARRAY_STRING = "abcdef";
29: public static String CHAR_ARRAY_STRING_SUB = "bcde";
30: public static char[] CHAR_ARRAY_VALUE = new char[] { 'a', 'b', 'c',
31: 'd', 'e', 'f' };
32: public static String FALSE_STRING = "false";
33: public static boolean FALSE_VALUE = false;
34: public static boolean TRUE_VALUE = true;
35: public static String TRUE_STRING = "true";
36: public static final String INT_STRING = "123456789";
37: public static final String LONG_STRING = "1234567890123456";
38: public static final int INT_VALUE = 123456789;
39: public static final long LONG_VALUE = 1234567890123456L;
40: }
|