Web
Images
Videos
Academic
Dict
Maps
闭包
[bì bāo]
na.
【数】
closure
Web
closures
;
Lexical
Closure
;
closed
hull
Chinese-English
Web Definition
na.
1.
【数】
closure
1.
closure
闭包(closure):啥是
闭包
(
closure
)?闭包是可以包含自由(未绑定)变量的代码块; 这些变量不是在这个代码块或者任何全局上下 …
args.cn
|
Based on 3637 pages
2.
closures
闭包
(
CLOSURES
)当你看到一个函数,返回一个内部函数,该内部函数将获得范围外的访问权,即使在外部函数执行之后。
www.chinaz.com
|
Based on 1478 pages
3.
Lexical Closure
摘要: Objective-c 闭包及其使用解析,
闭包
(
Lexical Closure
)主要表现在函数可以引用到自由变量,并且可以脱离变量的创建环境,可 …
www.desteps.com
|
Based on 16 pages
4.
closed hull
关于数学的专业词汇[分享] - My Study ... closed group 闭群
closed hull
闭包
closed interval 闭区间 ...
my.huhoo.net
|
Based on 15 pages
5.
LF-WE closure
WebAPI,Web... ... ) WEspace 空间 )
LF-WE closure
闭包
) LF-WE space 空间 ...
www.dictall.com
|
Based on 3 pages
6.
WEclosure
WebAPI,Web... ... ) LF-WE space 空间 )
WEclosure
闭包
) WEspace 空间 ...
www.dictall.com
|
Based on 2 pages
More Definitions
Collapse Definitions
Sample Sentence
Definition:
All
All
,
closures
closures
,
Lexical Closure
Lexical Closure
,
closed hull
closed hull
Category:
All
All
,
Oral
Oral
,
Written
Written
,
Title
Title
,
Technical
Technical
Source:
All
All
,
Dictionary
Dictionary
,
Web
Web
Difficulty:
All
All
,
Easy
Easy
,
Middle
Middle
,
Hard
Hard
More sentence filters
Hide sentence filters
1.
As
shown
in
Listing
13
,
you
define
a resultsPanel in a
nested
closure
just
as
you
did
with
the searchPanel
.
如
清单
13
所
示
,
像
对待
searchPanel
那样
,
在
嵌套
的
闭
包
中
定义
resultsPanel
。
rú
qīng dān
shí sān
suǒ
shì
,
xiàng
duì dài
searchPanel
nà yàng
,
zài
qiàn tào
de
bì bāo
zhōng
dìng yì
resultsPanel
。
www.ibm.com
2.
Listing
4
shows
an
example
of a
closure
that
will
import
a
variable
from
the
outside
environment
and
simply
print
it
out
to
the
screen
.
清单
4
显示
了
从
外部
环境
导入
变量
并
将
其
简单地
输出
到
屏幕
上
的
闭
包
示例
。
qīng dān
sì
xiǎn shì
le
cóng
wài bù
huán jìng
dǎo rù
biàn liàng
bìng
jiāng
qí
jiǎn dān de
shū chū
dào
píng mù
shàng
de
bì
bāo
shì lì
。
www.ibm.com
3.
Similarly
,
the
body
is
passed
into the
tag
as a
closure
,
so
I
call
it
the
same
way
I'd
call
any
other
tag
.
类似
地
,
body
也
以
闭
包
的
形式
传递
给
标记
,
所以
调用
它
的
方式
与
调用
其他
标记
的
方式
相同
。
lèi sì
de
,
body
yě
yǐ
bì bāo
de
xíng shì
chuán dì
gěi
biāo jì
,
suǒ yǐ
diào yòng
tā
de
fāng shì
yǔ
diào yòng
qí tā
biāo jì
de
fāng shì
xiāng tóng
。
www.ibm.com
4.
Since the
inception
of the
Practically
Groovy
series
almost
a
year
ago
,
I
've
given
you
several
opportunities
to
get
to
know
closures
.
几乎
从
一
年
前
实战
Groovy
系列
开始
,
我
就
已经
提供
了
多个
让
您
了解
闭
包
的
机会
。
jī hū
cóng
yī
nián
qián
shí zhàn
Groovy
xì liè
kāi shǐ
,
wǒ
jiù
yǐ jīng
tí gōng
le
duō gè
ràng
nín
liǎo jiě
bì bāo
de
jī huì
。
www.ibm.com
5.
Using
composition
,
two
or
more
simple
closures
can
be
combined
to produce
a
more
elaborate
one
.
使用
复合
,
两个
或
多个
简单
的
闭
包
可以
组合
起来
构成
一个
更
复杂
的
闭
包
。
shǐ yòng
fù hé
,
liǎng gè
huò
duō gè
jiǎn dān
de
bì bāo
kě yǐ
zǔ hé
qǐ lái
gòu chéng
yī gè
gèng
fù zá
de
bì
bāo
。
www.ibm.com
6.
Though
you
can
pass
another
closure
to
it
,
instead
pass
it
a
reference
to
another
function
called
addEmployee
.
尽管
您
可以
传递
另一个
闭
包
给
它
,
而不是
将
其
作为
一个
引用
传递
给
另一个
名
为
addEmployee
的
函数
。
jǐn guǎn
nín
kě yǐ
chuán dì
lìng yī gè
bì bāo
gěi
tā
,
ér bú shì
jiāng
qí
zuò wéi
yī gè
yǐn yòng
chuán dì
gěi
lìng yī gè
míng
wéi
addEmployee
de
hán shù
。
www.ibm.com
7.
Closures
have
another
huge
advantage
:
they
make
it
easy
to
enforce
policy
.
闭
包
还
有
一
项
重大
的
优势
:
让
实施
策略
变得
容易
。
bì bāo
hái
yǒu
yī
xiàng
zhòng dà
de
yōu shì
:
ràng
shí shī
cè lüè
biàn de
róng yì
。
www.ibm.com
8.
As you
learned
with
the
multiplication
examples
,
curried
closures
make
it
surprisingly
easy
to
implement
functional
patterns
of
computation
.
在
学习
乘法
例子
时
,
curry
过
的
闭
包
使得
实现
计算
的
函数
模式
出奇
得
容易
。
zài
xué xí
chéng fǎ
lì zǐ
shí
,
curry
guò
de
bì bāo
shǐ de
shí xiàn
jì suàn
de
hán shù
mó shì
chū qí
de
róng yì
。
www.ibm.com
9.
In
the destroy
closure
,
you
perform
the
same
tests
to make
sure
that you aren't trying to
delete
records
that don't
exist
.
在
destroy
闭
包
中
,
执行
相同
的
测试
,
确保
不
删除
不
存在
的
记录
。
zài
destroy
bì bāo
zhōng
,
zhí xíng
xiāng tóng
de
cè shì
,
què bǎo
bù
shān chú
bù
cún zài
de
jì lù
。
www.ibm.com
10.
Closures
are
such
a
powerful
abstraction
that
object
systems
and
fundamental
control
structures
are
often
implemented
using
them
.
闭
包
是
一个
强大
的
抽象
,
以至于
objects
系统
和
基础
控制
结构
经常
是
用
它们
实现
的
。
bì bāo
shì
yī gè
qiáng dà
de
chōu xiàng
,
yǐ zhì yú
objects
xì tǒng
hé
jī chǔ
kòng zhì
jié gòu
jīng cháng
shì
yòng
tā men
shí xiàn
de
。
article.yeeyan.org
1
2
3
4
5
Bing Dictionary App
Without any ads
Go to website
Download mobile dict apps
iOS
Windows Phone
Android
Download PC apps
Win32 Version
Microsoft Store