使用静态工厂方法创建一个msg对象。
唯一的特别之处在于几个方便操纵字段的静态工厂方法。
The only special part is several convenient static factory methods for manufacturing fields.
第一个类使用构造函数初始化属性,第二个类使用静态工厂方法。
The first class USES a constructor to initialize the properties, and the second class USES a static factory method.
用这种方式,静态工厂方法返回的对象可以实现建立代理时所定义的任意数量的接口。
In this way, the object returned from the static factory method could implement any number of interfaces defined when I create the proxy.
bosession类提供创建该类的实例的静态工厂方法,封装用来访问Notes数据库的NotesSession实例。
The BOSession class offers static factory methods to create an instance of this class which encapsulates a Notes Session instance used to access the Notes database.
您可以从一个静态工厂方法获得一个MXBean实例,该方法可以使您直接访问本地运行的JVM的MXBean接口。
You can retrieve an MXBean instance from a static factory method that gives you direct access to the locally running JVM's MXBean interface.
大概这意味着IndexReader . open,一个静态工厂方法,实例了一个适当的具体的indexreader子类并返回它。
Presumably that means IndexReader.open , a static factory method, instantiates an appropriate concrete subclass of IndexReader and returns it.
一个静态的泛型和非泛型类工厂方法?
A static factory method on a generic or a non-generic class?
一个静态的泛型和非泛型类工厂方法?
A static factory method on a generic or a non-generic class?
应用推荐