public class OpListing extends Object
OpListing are different
implementations of the same algorithm, much as method overloading in
Java might be considered different implementations of the same functionality.
If you have concrete Objects instead of types, use
OpRef.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Class<?> |
getFunctionalType()
Gets the functional type of the Op
|
List<String> |
getInputNames() |
List<Type> |
getInputTypes() |
String |
getName()
Gets the name of the Op
|
List<String> |
getReturnNames() |
List<Type> |
getReturnTypes() |
int |
hashCode() |
List<ModuleItem<?>> |
inputsFor(ModuleInfo info)
Creates a set of
ModuleItems for each input described by
this OpListing. |
List<ModuleItem<?>> |
outputsFor(ModuleInfo info)
Creates a set of
ModuleItems for each output described by
this OpListing. |
OpListing |
reduce(Function<Type,Type> typeReducer) |
String |
toString() |
public String getName()
public Class<?> getFunctionalType()
public List<ModuleItem<?>> inputsFor(ModuleInfo info)
ModuleItems for each input described by
this OpListing.info - the ModuleInfo to which the resulting
ModuleItems will belong.ModuleItems describing the inputs of this OpListingpublic List<Type> getInputTypes()
Types of each input, in order, required by the listing.public List<String> getInputNames()
public List<ModuleItem<?>> outputsFor(ModuleInfo info)
ModuleItems for each output described by
this OpListing.info - the ModuleInfo to which the resulting
ModuleItems will belong.ModuleItems describing the outputs of this
OpListingpublic List<Type> getReturnTypes()
Types of each output, in order, required by the
listing.public List<String> getReturnNames()
Copyright © 2014–2024 ImageJ. All rights reserved.