Class Named<T>

java.lang.Object
net.finmath.plots.Named<T>
Type Parameters:
T - The type of the named object.

public class Named<T> extends Object
A named object of type T.
Author:
Christian Fries
  • Constructor Details

    • Named

      public Named(String name, T object)
      Create the named object.
      Parameters:
      name - Name of the object.
      object - The object.
  • Method Details

    • getName

      public String getName()
      Get the name of the object.
      Returns:
      the name
    • get

      public T get()
      Get the object.
      Returns:
      the object.