Public Member Functions | |
KeyedString () | |
Default Constructor. | |
KeyedString (KeyedString src) | |
Copy constructor. | |
Object | copy_from (Object src) |
Copy value of a data type from source. | |
Public Attributes | |
String | key |
Instance key associated with the specified value. | |
String | value |
String value. |
KeyedString | ( | ) |
Default Constructor.
The default constructor initializes the newly created object with empty key and value.
KeyedString | ( | KeyedString | src | ) |
Copy constructor.
src | <<in>> Object to copy from. |
NullPointerException | if src is null. |
Object copy_from | ( | Object | src | ) |
Copy value of a data type from source.
Copy data into this object from another. This copy is intended to be a deep copy, so that all data members (recursively) are copied (not just resetting Object references).
This operation returns the object that is copied if copy is successful.
src | <<in>> The Object which contains the data to be copied. |
NullPointerException | If src is null. | |
ClassCastException | If src is not the same type as this. |
Implements Copyable.
String key |
Instance key associated with the specified value.
String value |
String value.