Package com.singularsys.jep
Class ComponentSubset
- java.lang.Object
-
- com.singularsys.jep.ComponentSubset
-
- All Implemented Interfaces:
JepComponent
,java.io.Serializable
- Direct Known Subclasses:
MatrixComponents
public class ComponentSubset extends java.lang.Object implements JepComponent
Represent a incomplete set of components.- Since:
- Jep 3.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentSubset(JepComponent... parts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JepComponent
getLightWeightInstance()
Gets a light-weight instance suitable for using in multiple threads.JepComponent[]
getParts()
void
init(Jep jep)
Initialize the component.
-
-
-
Constructor Detail
-
ComponentSubset
public ComponentSubset(JepComponent... parts)
-
-
Method Detail
-
getParts
public JepComponent[] getParts()
-
init
public void init(Jep jep)
Description copied from interface:JepComponent
Initialize the component. This methods is called whenever a component is added to Jep. Hence it allows components to keep track of the other components they may rely on.- Specified by:
init
in interfaceJepComponent
- Parameters:
jep
- the current Jep instance
-
getLightWeightInstance
public JepComponent getLightWeightInstance()
Description copied from interface:JepComponent
Gets a light-weight instance suitable for using in multiple threads.- Specified by:
getLightWeightInstance
in interfaceJepComponent
- Returns:
- either an new instance, null or 'this'.
-
-