public class DataIdentifier
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DataIdentifier(java.lang.String identifier)
Creates a data identifier from the given string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Checks if the given object is a data identifier and has the same
string representation as this one.
|
int |
hashCode()
Returns the hash code of the identifier string.
|
java.lang.String |
toString()
Returns the identifier string.
|
public DataIdentifier(java.lang.String identifier)
identifier
- data identifierpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- other objecttrue
if the given object is the same identifier,
false
otherwisepublic int hashCode()
hashCode
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved