public static class String.Holder
extends java.lang.Object
String
.Constructor and Description |
---|
Holder()
Create a holder class with an empty holdee object.
|
Holder(java.lang.String obj)
Create a holder with the specified object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get()
Get the value of the holdee object.
|
void |
set(java.lang.String obj)
Set the value of the holdee object.
|