你可以在方法主体只有一个表达式的时候省略大括号。
You can omit the braces if the method body has just one expression.
我们可以在这编写一个表达式来匹配许多类的方法的集合。
We could write an expression here that matched a set of methods, on many classes.
在命令行中,可以采用许多方法使用正则表达式。
At the command line, you'll find many ways to use regular expressions.
正则表达式是执行此操作的更好方法。
Regular expressions are a much better means of performing this operation.
也可以建立布尔表达式以调用方法。
You can also set up the Boolean expression to call a method.
这个小示例使用最简单的方法:正则表达式。
This small example USES the simplest thing that could possibly work: regular expressions.
这些参数传递到表达式对象的invoke方法。
These parameters are passed to the invoke method of the expression object.
如果输入文本与正则表达式匹配,则该方法返回true。
If the input text matches the regular expression, what this method returns is true.
可以使用evaluate方法计算表达式。
每个表达式类都有一个evaluate方法和一个enumerate方法。
Each expression class has an evaluate method, and an enumerate method.
每个表达式类都有一个simplify方法,以允许表达式重写。
Each expression class has a simplify method, to allow expression rewriting.
程序路径表达式是路径测试中路径的一种表示方法。
Program path expression is an path representation method in path testing.
本文对表达式符号的大小归一化方法进行了研究。
In this paper, two methods of size normalization of expression notation are studied.
该表达式还可以采用方法调用的形式。
研究了表达式在计算机上的求解方法。
Methods of solution of the expressions in a computer are studied.
该方法通过建立数学规则库,对两个数学表达式进行树型模式匹配和算式变换来实现。
This approach is implemented by rule set building, tree pattern matching and math expression transformation.
该方法通过建立数学规则库,对两个数学表达式进行树型模式匹配和算式变换来实现。
This approach is implemented by rule set building, tree pattern matching and math expression transformation.
应用推荐