Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
StringValue(java.lang.String text)
Constructs a
StringValue object representing a string. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns zero to satisfy the Object equals/hashCode contract.
|
getBinary, getBoolean, getDate, getDecimal, getDouble, getLong, getStream, getString, getType
public static final int TYPE
public StringValue(java.lang.String text)
StringValue
object representing a string.text
- the string this StringValue
should representpublic boolean equals(java.lang.Object obj)
The result is true
if and only if the argument is not
null
and is a StringValue
object that
represents the same value as this object.
equals
in class java.lang.Object
obj
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
Copyright © 2010 - 2020 Adobe. All Rights Reserved