Interfaces are used to namespace the method names, so a single object can have multiple methods with the same name but with different interfaces.
接口用于名称空间和方法名称,因此一个单独的对象可以有名称相同而接口不同的多个方法。
A class can have different constructor methods, differentiated by the different attributes enclosed within the parentheses following the class name.
类可以有不同的构造函数方法,这些方法是通过类名称后的圆括号内附带的不同属性进行区分。
They have a series of setter and getter methods that look like void setXXX(Type name) and Type getXXX().
它们有一系列的setter和getter方法,这些方法的类似于voidsetXXX(类型名) 和Type getXXX() 。
Once you have an SEI implementation, you can call its methods with your attachment (which for this example is in a file whose name you provide).
一旦您有了SEI实现,您就可以和您的附件一起调用它的方法(在本例中它是在一个您提供了名称的文件中)。
Method overloading is when two methods share the same name but have a different number or type of parameters.
方法重载:当两个方法具有相同的方法名,但是有不同数目或不同类型的参数。
Method overloading is when two methods share the same name but have a different number or type of parameters.
方法重载:当两个方法具有相同的方法名,但是有不同数目或不同类型的参数。
应用推荐