01: package uk.org.ponder.util;
02:
03: public interface Constants {
04: /** a constant indicating that a double value is missing.*/
05: public static final double MissingValue = Double.MIN_VALUE;
06: /** A non-interchangeable "private use" Unicode character for use
07: * where an identifiable non-null key is required.
08: * Never try to store or transmit this character outside the JVM!
09: */
10: public static final String UNUSED_STRING = "\ufdd0";
11: /** A String value to be used when trying to encode a <code>null</code>
12: * value outside the JVM, which cannot otherwise be signalled.
13: */
14: // U+25a9 = Unicode Character 'SQUARE WITH DIAGONAL CROSSHATCH FILL'
15: // See StaticLeafParser for more details
16: public static String NULL_STRING = "\u25a9null\u25a9";
17: public static final double root2 = Math.sqrt(2);
18: }
|