K
- the type of object to boxpublic class BoxedObject<K> extends Object
Constructor and Description |
---|
BoxedObject()
Constructor.
|
BoxedObject(K initialValue)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
K |
getObject()
Returns the boxed object.
|
void |
setObject(K object)
Sets the boxed object.
|
public BoxedObject()
public BoxedObject(K initialValue)
initialValue
- the initial valueCopyright © 2018. All rights reserved.