public class MutableValueStr extends MutableValue
MutableValue implementation of type String.
When mutating instances of this object, the caller is responsible for ensuring
that any instance where exists is set to false must also
have a value with a length set to 0.| Modifier and Type | Field and Description |
|---|---|
BytesRef |
value |
exists| Constructor and Description |
|---|
MutableValueStr() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareSameType(Object other) |
void |
copy(MutableValue source) |
MutableValue |
duplicate() |
boolean |
equalsSameType(Object other) |
int |
hashCode() |
Object |
toObject() |
compareTo, equals, exists, toStringpublic BytesRef value
public Object toObject()
toObject in class MutableValuepublic void copy(MutableValue source)
copy in class MutableValuepublic MutableValue duplicate()
duplicate in class MutableValuepublic boolean equalsSameType(Object other)
equalsSameType in class MutableValuepublic int compareSameType(Object other)
compareSameType in class MutableValuepublic int hashCode()
hashCode in class MutableValueCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.