Class Value<T>

java.lang.Object
com.inductiveautomation.ignition.common.Value<T>
All Implemented Interfaces:
IValue<T>

public class Value<T> extends Object implements IValue<T>
  • Constructor Details

    • Value

      public Value(T object)
  • Method Details

    • get

      public T get()
      Specified by:
      get in interface IValue<T>
    • of

      public static <T extends Serializable> Value<T> of(T object)
      Factory method for Value which uses type inference to make code shorter. Equivalent to new Value<TypeOfObject>(object).
      Returns:
      Model that contains object