- java.lang.Object
-
- org.scijava.ops.engine.struct.OpResizingMemberParser
-
- All Implemented Interfaces:
MemberParser<RetypingRequest,Member<?>>
public class OpResizingMemberParser extends Object implements MemberParser<RetypingRequest,Member<?>>
-
-
Constructor Summary
Constructors Constructor Description OpResizingMemberParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Member<?>>parse(RetypingRequest source, Type structType)List<Member<?>>parse(Struct s, List<FunctionalMethodType> newFmts, Type structType)
-
-
-
Method Detail
-
parse
public List<Member<?>> parse(RetypingRequest source, Type structType)
Generates a newListwith retypedMembers. UsingoriginalStructas a template, this method retypes the inputs oforiginalStructusinginputs, and the output usingoutput.This method makes a couple of assumptions:
We should consider adding the evaluation of these assumptions- Specified by:
parsein interfaceMemberParser<RetypingRequest,Member<?>>- Parameters:
source- theRetypingRequestfrom which we create the newListofMembers- Returns:
- a new
Listreflecting the reduced number of Op inputs.
-
-