Package com.compomics.util.general
Class BoxedObject<K>
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.general.BoxedObject<K>
- Type Parameters:
K- the type of object to box
- All Implemented Interfaces:
Serializable
Convenience class allowing the boxing of an object.
- Author:
- Marc Vaudel
- See Also:
-
Field Summary
Fields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
BoxedObject
public BoxedObject()Constructor. -
BoxedObject
Constructor.- Parameters:
initialValue- the initial value
-
-
Method Details
-
getObject
Returns the boxed object.- Returns:
- the boxed object
-
setObject
Sets the boxed object.- Parameters:
object- the boxed object
-