package edu.cmu.sphinx.util.props; import java.lang.annotation.*; /** * * A double property. * * @author Holger Brandl * @see ConfigurationManager */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) @S4Property public @interface S4Double { /** * Default value to return */ public static final double NOT_DEFINED = -918273645.12345; // not bullet-proof, but should work in most cases double defaultValue() default NOT_DEFINED; double[] range() default {-Double.MAX_VALUE, Double.MAX_VALUE}; boolean mandatory() default true; }