Class BoxedObject<K>

Type Parameters:
K - the type of object to box
All Implemented Interfaces:
Serializable

public class BoxedObject<K>
extends ExperimentObject
Convenience class allowing the boxing of an object.
Author:
Marc Vaudel
See Also:
Serialized Form
  • Constructor Details

    • BoxedObject

      public BoxedObject()
      Constructor.
    • BoxedObject

      public BoxedObject​(K initialValue)
      Constructor.
      Parameters:
      initialValue - the initial value
  • Method Details

    • getObject

      public K getObject()
      Returns the boxed object.
      Returns:
      the boxed object
    • setObject

      public void setObject​(K object)
      Sets the boxed object.
      Parameters:
      object - the boxed object