Directory类的静态方法对所有方法都执行安全检查。
The static methods of the File class perform security checks on all methods..另一个常用的静态方法是Console类中的WriteLine。
An example of a static method is the WriteLine method of the Console class.Convert类包含了一系列的静态方法向这样工作。
Convert class contains a host of static methods that work like this.当尝试调用类中不存在的静态方法时,__callStatic()魔术方法将被自动调用。
When an undefined static method is called in a program, the__callStatic() method will be called automatically.Combinations with other parts of speech
由于ceil是Math的静态方法,所以应该像这样使用:Math.
Because ceil is a static method of Math, you always use it as Math.我们使用的这些方法是Array类的静态方法或数组对象的成员方法。
These methods that we use are static methods of the Array class or member methods of the array objects.使用ImageIO类的静态方法可以执行许多常见的图像I/O操作。
Many common image I/Ooperations may be performed using the static methods of the ImageIO class.由于hypot是Math的静态方法,所以应该以Math.
Because exp() is a static method of Math, you always use it as Math.File-提供用于创建、复制、删除、移动和打开文件的静态方法,并可帮助创建FileStream对象。
File- provides static methods for creating, copying, deleting, moving, and opening files, and helps create a FileStream object.由于atan2是Math的静态方法,所以应该像这样使用:Math.
Because atan2() is a static method of Math, you always use it as Math.由于max是Math的静态方法,所以应该像这样使用:Math.
Because max() is a static method of Math, you always use it as Math.Algorithms:在集合上运行的一些有用的静态方法,比如给列表排序。
Algorithms Static methods that perform useful functions on collections, such as sorting a list.由于fromCharCode()是String的静态方法,所以应该像这样使用:String.
Because fromCharCode is a static method of String, you always use it as String.但是也不能确定有其他的方式(或者其他的静态方法)导致类装载,.
There are other ways(or other static methods) that cause the class to load.你可以在子类中写一个新的静态方法,它与超类中的签名相同,从而隐藏它。
You can write a new static method in the subclass that has the same signature as the one in the superclass, thus hiding it.在JVM语言比如Java中,入口点是叫做main的静态方法;.
In JVM languagessuch as Java the entry point is a static method named main;在CLI语言比如C中,入口点是叫做Main的静态方法[1]。
In CLI languagessuch as C the entry point is a static method named Main.[1].
There is an alternative to static blocks-you can write a private static method:.对于一个应用程序的主入口点-称开始执行的方法-通常是一个称为Main的静态方法。
The entry point for an application- the method that is called to begin execution-is always a static method named Main.Atomics是一个类似于Math一样的静态方法的对象,所以我们不能把它作为构造函数来使用。
The atomic object is an object of static methods such as math, so we cannot use it as a constructor.这个类有一系列返回不同类型Border对象的静态方法。
The class has a series of static methods returning different types of Border objects.使用基本类型int在低层API中表示代码点,例如Character类的静态方法。
Use the primitive type int torepresent code points in low-level APIs, such as the static methods of the Character class.Sleep不会创建一个新线程,sleep是Thread类的静态方法,用于暂停当前线程的活动。
Sleep does not create a new threadsleep is a static method of the Thread class that temporarily stops the activity of the current thread.Collections此类完全由在collection上进行操作或返回collection的静态方法组成。
This class consists exclusively of static methods that operate on or return Collections.所以现在Rabbit对象可以通过Rabbit访问Object的静态方法,如下所示:.
So Rabbit now provides access to static methods of Object via Rabbit, like this:.它可能是一个面向对象的模型,也可能是一个函数模型,甚至可能是从帮助程序类公开的静态方法的普通集合。
It might be an object-oriented model,as well as a functional model or even a plain collection of static methods exposed out of helper classes.
The following are the methods of the Thread class.诸如compareUnsigned,divideUnsigned等的静态方法已经添加到Integer类中,以支持无符号整数的算术运算。
Static methods like compareUnsigned and divideUnsigned have been added to the Integer class to support arithmetic operations for unsigned integers.1.