Modifier | Constructor and Description |
---|---|
protected |
Info(String name, String vendor, String description, String version)
构造一个密炼机的信息对象,传递给给定的文本信息。
|
public final boolean equals(Object obj)
true
是否相同。
equals
方法重写,继承类
Object
obj
-参考对象,比较这个信息对象
true
对象为
obj
参数相同;
false
否则
Object.hashCode()
,
HashMap
public final int hashCode()
hashCode
方法重写,继承类
Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public final String getName()
public final String getVendor()
public final String getDescription()
public final String getVersion()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.