- java.lang.Object
-
- org.scijava.ops.api.OpInstance<T>
-
- All Implemented Interfaces:
GenericTyped
public class OpInstance<T> extends Object implements GenericTyped
An instance of anOpInfo. They can be constructed directly, but are easily generated fromInfoTrees.Each
OpInstancehas an Op and its correspondingOpInfo.- Author:
- Gabriel Selzer
-
-
Constructor Summary
Constructors Constructor Description OpInstance(T op, InfoTree backingInfo, Type reifiedType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)inthashCode()InfoTreeinfoTree()static <T> OpInstance<T>of(T op, InfoTree backingInfo, Type reifiedType)Top()StringtoString()Typetype()
-
-
-
Method Detail
-
of
public static <T> OpInstance<T> of(T op, InfoTree backingInfo, Type reifiedType)
-
op
public T op()
-
infoTree
public InfoTree infoTree()
-
type
public Type type()
- Specified by:
typein interfaceGenericTyped
-
-