- java.lang.Object
-
- net.finmath.plots.Named<T>
-
- Type Parameters:
T
- The type of the named object.
public class Named<T> extends java.lang.Object
A named object of type T.- Author:
- Christian Fries
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
Get the object.java.lang.String
getName()
Get the name of the object.
-
-
-
Constructor Detail
-
Named
public Named(java.lang.String name, T object)
Create the named object.- Parameters:
name
- Name of the object.object
- The object.
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name of the object.- Returns:
- the name
-
get
public T get()
Get the object.- Returns:
- the object.
-
-