public class StringValue extends BaseValue
StringValue
provides an implementation
of the Value
interface representing a string value.Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
StringValue(String text)
Constructs a
StringValue object representing a string. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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 StringValue(String text)
StringValue
object representing a string.text
- the string this StringValue
should representpublic boolean equals(Object obj)
true
if and only if the argument is not
null
and is a StringValue
object that
represents the same value as this object.public int hashCode()
hashCode
in class Object
Object.hashCode()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"