输入元素(login和password)中的名称对应于authenticate闭包中的params . login和params . password。
The names in the input elements - login and password - correspond to params.login and params.password in the authenticate closure.
当创建新的 Filter 类型时,对应的名为 simplefilter 的闭包会被传递到构造器中。
When a new Filter type is created, the corresponding closure named simplefilter will be passed into the constructor.
然后我打开对应的文件,并用一个漂亮的闭包从scanner集合读取每个对应的File。
I've then opened the corresponding file and — using a nifty closure — read each corresponding file from the scanner collection.
应用推荐