月亮词典
首页
查询
nonstatic
非静态的
常用释义
词性释义
adj.
非静态的;无静电荷的;不产生无线电干扰的
例句
全部
非静态的
This
includes
publishing
references
to
nonstatic
inner
classes
,
and
generally
precludes
starting
threads
from
within
a
constructor
.
这包括发布对nonstatic内部类的引用,并一般要避免在构造函数中启动线程。
Returns
the
method
ID
for an
instance
(
nonstatic
)
method
of
a
class
or
interface
.
返回类或接口实例(非静态)方法的方法ID。
The
big
advantage
of
using
a
static
closure
vs
.
a
nonstatic
one
inside
an
object
is
for the
memory
savings
.
在对象内使用静态闭包与使用非静态闭包相比的最大优点是节省内存。
However
,
placing
an
inheritance
demand
on
any
nonstatic
method
in
the
base
class
has the
same
effect
as an
inheritance
demand
on
the
class
.
然而,对基类中的任何非静态方法提出继承要求与对类提出继承要求的效果相同。
A
nonstatic
nested
class
is
called
an
inner
class
.
非静态的嵌入类叫内部类。
Referring to this
either
explicitly
or
implicitly
by
using
a
nonstatic
member
is
a
compile
-
time
error
.
鉴于以上所述,(在一个静态函数中,)无论是显式或隐式地使用非静态成员将会导致编译时错误。
Class
object
and
the
nonstatic
method
acquires the
lock
associated with the
instance
.
对象的锁,而非静态方法要求属于此类实例的锁。
This
model
was
later
shown
to be
nonstatic
.
后来人们发现德西特的模型并不是静态的时空。
One
thing
to
note
about
the
static
keyword
is
that
it
doesn't
work
the same as how this works in the
nonstatic
context
.
有关static关键字需要注意一点,它的工作方式与在非静态上下文中的工作方式不同。
1·However, placing an inheritance demand on any nonstatic method in the base class has the same effect as an inheritance demand on the class.
然而,对基类中的任何非静态方法提出继承要求与对类提出继承要求的效果相同。