|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.update.core.VersionedIdentifier
Versioned Identifier. This is a utility class combining an identification string with a version.
Clients may instantiate; not intended to be subclassed by clients.
org.eclipse.update.core.Version
Constructor Summary | |
VersionedIdentifier(String id,
String versionName)
Construct a versioned identifier from an identifier and a string representation of a version |
Method Summary | |
boolean |
equals(Object obj)
Compares two versioned identifiers for equality |
String |
getIdentifier()
Returns the identifier |
PluginVersionIdentifier |
getVersion()
Returns the version |
int |
hashCode()
Returns a computed hashcode for the versioned identifier. |
String |
toString()
Returns a string representation of the versioned identifier. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public VersionedIdentifier(String id, String versionName)
id
- identifier stringversionName
- string representation of versionVersion#toString()
Method Detail |
public String getIdentifier()
public PluginVersionIdentifier getVersion()
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- other versioned identifier to compare to
true
if the two objects are equal,
false
otherwisepublic int hashCode()
hashCode
in class Object
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |