public class StringValue extends Object implements Value<StringValue>
| Constructor and Description |
|---|
StringValue() |
StringValue(String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(Value<StringValue> other)
Assign a new value to this object
|
int |
compareTo(StringValue other) |
StringValue |
copy() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
read(RandomAccessInput in) |
String |
toString() |
String |
value() |
void |
value(String value) |
ValueType |
valueType() |
void |
write(RandomAccessOutput out) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcheckAssign, stringpublic StringValue()
public StringValue(String value)
public ValueType valueType()
valueType in interface Value<StringValue>public void assign(Value<StringValue> other)
Valueassign in interface Value<StringValue>public StringValue copy()
copy in interface Value<StringValue>public void read(RandomAccessInput in) throws IOException
read in interface ReadableIOExceptionpublic void write(RandomAccessOutput out) throws IOException
write in interface WritableIOExceptionpublic int compareTo(StringValue other)
compareTo in interface Comparable<StringValue>public String value()
value in interface Value<StringValue>public void value(String value)
Copyright © 2020–2021. All rights reserved.