Revision 46992
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.api/src/main/java/org/gvsig/expressionevaluator/spi/AbstractFunction.java | ||
---|---|---|
569 | 569 |
return getBoolean(args[n], n, accuracy); |
570 | 570 |
} |
571 | 571 |
|
572 |
protected boolean getBoolean(Object args[], int n) { |
|
573 |
if( args.length < n ) { |
|
574 |
throw new IllegalArgumentException(I18N.Required_argument_XargnX_and_only_found_XargcX_in_call_to_XIdentifierX(name(), args.length, n)); |
|
575 |
} |
|
576 |
return getBoolean(args[n], n, MathUtils.EPSILON); |
|
577 |
} |
|
578 |
|
|
572 | 579 |
protected boolean getBoolean(Object value, int n) { |
573 | 580 |
return getBoolean(value, n, MathUtils.EPSILON); |
574 | 581 |
} |
Also available in: Unified diff