Modifier and Type | Interface and Description |
---|---|
interface |
OpService
Interface for services that manage and execute
Op s. |
Modifier and Type | Class and Description |
---|---|
class |
CustomOpEnvironment
A customized op execution environment.
|
class |
DefaultOpService
Default service for managing and executing
Op s. |
Modifier and Type | Method and Description |
---|---|
OpEnvironment |
OpCandidate.ops()
Gets the op execution environment of the desired match.
|
OpEnvironment |
Environmental.ops()
Gets the op execution environment.
|
OpEnvironment |
AbstractOp.ops() |
OpEnvironment |
AbstractNamespace.ops() |
default OpEnvironment |
OpEnvironment.parent()
The parent context, if any.
|
OpEnvironment |
CustomOpEnvironment.parent() |
Modifier and Type | Method and Description |
---|---|
<NS extends Namespace> |
NamespaceService.create(Class<NS> pluginClass,
OpEnvironment ops)
Creates a
Namespace with the given op execution environment. |
<NS extends Namespace> |
DefaultNamespaceService.create(Class<NS> pluginClass,
OpEnvironment ops) |
List<OpCandidate> |
OpMatchingService.findCandidates(OpEnvironment ops,
List<OpRef> refs)
Builds a list of candidate ops which might match one of the given op
references.
|
List<OpCandidate> |
DefaultOpMatchingService.findCandidates(OpEnvironment ops,
List<OpRef> refs) |
List<OpCandidate> |
OpMatchingService.findCandidates(OpEnvironment ops,
OpRef ref)
Builds a list of candidate ops which might match the given op reference.
|
List<OpCandidate> |
DefaultOpMatchingService.findCandidates(OpEnvironment ops,
OpRef ref) |
OpCandidate |
OpMatchingService.findMatch(OpEnvironment ops,
List<OpRef> refs)
Finds and initializes the best module matching any of the given op name
and/or type + arguments.
|
OpCandidate |
DefaultOpMatchingService.findMatch(OpEnvironment ops,
List<OpRef> refs) |
OpCandidate |
OpMatchingService.findMatch(OpEnvironment ops,
OpRef ref)
Finds and initializes the best module matching the given op name and/or
type + arguments.
|
OpCandidate |
DefaultOpMatchingService.findMatch(OpEnvironment ops,
OpRef ref) |
void |
Environmental.setEnvironment(OpEnvironment ops)
Sets the op execution environment.
|
void |
AbstractOp.setEnvironment(OpEnvironment ops) |
void |
AbstractNamespace.setEnvironment(OpEnvironment ops) |
Constructor and Description |
---|
CustomOpEnvironment(OpEnvironment parent)
Creates an op context with the same configuration as the given parent
environment.
|
CustomOpEnvironment(OpEnvironment parent,
Collection<? extends OpInfo> infos)
Creates an op context with the same configuration as the given parent
environment, plus the specified additional ops.
|
OpCandidate(OpEnvironment ops,
OpRef ref,
OpInfo info) |
Modifier and Type | Class and Description |
---|---|
class |
CachedOpEnvironment
Creates
CachedFunctionOp s which know how to cache their outputs. |
Constructor and Description |
---|
CachedOpEnvironment(OpEnvironment parent) |
CachedOpEnvironment(OpEnvironment parent,
Collection<? extends OpInfo> prioritizedInfos) |
CachedOpEnvironment(OpEnvironment parent,
Collection<? extends OpInfo> prioritizedInfos,
Collection<Class<?>> ignoredOps) |
Constructor and Description |
---|
OpEvaluator(OpEnvironment ops) |
Modifier and Type | Method and Description |
---|---|
static List<OpCandidate> |
SpecialOp.candidates(OpEnvironment ops,
String name,
Class<? extends Op> opType,
int arity,
SpecialOp.Flavor flavor) |
static <S extends SpecialOp,O> |
SpecialOp.op(OpEnvironment ops,
Class<? extends Op> opType,
Class<S> specialType,
Class<O> outType,
Object... args)
Gets the best
SpecialOp implementation for the given types and
arguments, populating its inputs. |
Modifier and Type | Method and Description |
---|---|
static <I1,I2,O> BinaryComputerOp<I1,I2,O> |
Computers.binary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I1> in1Type,
Class<I2> in2Type,
Object... otherArgs)
Gets the best
BinaryComputerOp implementation for the given types
and arguments, populating its inputs. |
static <I1,I2,O> BinaryComputerOp<I1,I2,O> |
Computers.binary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I1 in1,
I2 in2,
Object... otherArgs)
Gets the best
BinaryComputerOp implementation for the given types
and arguments, populating its inputs. |
static <I1,I2,O> BinaryComputerOp<I1,I2,O> |
Computers.binary(OpEnvironment ops,
Class<? extends Op> opType,
O out,
I1 in1,
I2 in2,
Object... otherArgs)
Gets the best
BinaryComputerOp implementation for the given types
and arguments, populating its inputs. |
static <O> NullaryComputerOp<O> |
Computers.nullary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Object... otherArgs)
Gets the best
NullaryComputerOp implementation for the given types
and arguments, populating its inputs. |
static <O> NullaryComputerOp<O> |
Computers.nullary(OpEnvironment ops,
Class<? extends Op> opType,
O out,
Object... otherArgs)
Gets the best
NullaryComputerOp implementation for the given types
and arguments, populating its inputs. |
static <I,O> UnaryComputerOp<I,O> |
Computers.unary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I> inType,
Object... otherArgs)
Gets the best
UnaryComputerOp implementation for the given types
and arguments, populating its inputs. |
static <I,O> UnaryComputerOp<I,O> |
Computers.unary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I in,
Object... otherArgs)
Gets the best
UnaryComputerOp implementation for the given types
and arguments, populating its inputs. |
static <I,O> UnaryComputerOp<I,O> |
Computers.unary(OpEnvironment ops,
Class<? extends Op> opType,
O out,
I in,
Object... otherArgs)
Gets the best
UnaryComputerOp implementation for the given types
and arguments, populating its inputs. |
Modifier and Type | Method and Description |
---|---|
static <I1,I2,O> BinaryFunctionOp<I1,I2,O> |
Functions.binary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I1> in1Type,
Class<I2> in2Type,
Object... otherArgs)
Gets the best
BinaryFunctionOp implementation for the given types
and arguments, populating its inputs. |
static <I1,I2,O> BinaryFunctionOp<I1,I2,O> |
Functions.binary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I1 in1,
I2 in2,
Object... otherArgs)
Gets the best
BinaryFunctionOp implementation for the given types
and arguments, populating its inputs. |
static <O> NullaryFunctionOp<O> |
Functions.nullary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Object... args)
Gets the best
NullaryFunctionOp implementation for the given types
and arguments, populating its inputs. |
static <I,O> UnaryFunctionOp<I,O> |
Functions.unary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I> inType,
Object... otherArgs)
Gets the best
UnaryFunctionOp implementation for the given types
and arguments, populating its inputs. |
static <I,O> UnaryFunctionOp<I,O> |
Functions.unary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I in,
Object... otherArgs)
Gets the best
UnaryFunctionOp implementation for the given types
and arguments, populating its inputs. |
Modifier and Type | Method and Description |
---|---|
static <I1,I2,O> BinaryHybridCF<I1,I2,O> |
Hybrids.binaryCF(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I1> in1Type,
Class<I2> in2Type,
Object... otherArgs)
Gets the best
BinaryHybridCF implementation for the given types and
arguments, populating its inputs. |
static <I1,I2,O> BinaryHybridCF<I1,I2,O> |
Hybrids.binaryCF(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I1 in1,
I2 in2,
Object... otherArgs)
Gets the best
BinaryHybridCF implementation for the given types and
arguments, populating its inputs. |
static <I1,I2,O> BinaryHybridCF<I1,I2,O> |
Hybrids.binaryCF(OpEnvironment ops,
Class<? extends Op> opType,
O out,
I1 in1,
I2 in2,
Object... otherArgs)
Gets the best
BinaryHybridCF implementation for the given types and
arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.binaryCFI(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I> inType,
Object... otherArgs)
Gets the best
BinaryHybridCFI implementation for the given types
and arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.binaryCFI(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I in1,
I in2,
Object... otherArgs)
Gets the best
BinaryHybridCFI implementation for the given types
and arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.binaryCFI(OpEnvironment ops,
Class<? extends Op> opType,
O out,
I in1,
I in2,
Object... otherArgs)
Gets the best
BinaryHybridCFI implementation for the given types
and arguments, populating its inputs. |
static <I1,I2,O extends I1> |
Hybrids.binaryCFI1(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I1> in1Type,
Class<I2> in2Type,
Object... otherArgs)
Gets the best
BinaryHybridCFI1 implementation for the given types
and arguments, populating its inputs. |
static <I1,I2,O extends I1> |
Hybrids.binaryCFI1(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I1 in1,
I2 in2,
Object... otherArgs)
Gets the best
BinaryHybridCFI1 implementation for the given types
and arguments, populating its inputs. |
static <I1,I2,O extends I1> |
Hybrids.binaryCFI1(OpEnvironment ops,
Class<? extends Op> opType,
O out,
I1 in1,
I2 in2,
Object... otherArgs)
Gets the best
BinaryHybridCFI1 implementation for the given types
and arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.binaryCI(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I> inType,
Object... otherArgs)
Gets the best
BinaryHybridCI implementation for the given types and
arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.binaryCI(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I in1,
I in2,
Object... otherArgs)
Gets the best
BinaryHybridCI implementation for the given types and
arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.binaryCI(OpEnvironment ops,
Class<? extends Op> opType,
O out,
I in1,
I in2,
Object... otherArgs)
Gets the best
BinaryHybridCI implementation for the given types and
arguments, populating its inputs. |
static <I1,I2,O extends I1> |
Hybrids.binaryCI1(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I1> in1Type,
Class<I2> in2Type,
Object... otherArgs)
Gets the best
BinaryHybridCI1 implementation for the given types
and arguments, populating its inputs. |
static <I1,I2,O extends I1> |
Hybrids.binaryCI1(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I1 in1,
I2 in2,
Object... otherArgs)
Gets the best
BinaryHybridCI1 implementation for the given types
and arguments, populating its inputs. |
static <I1,I2,O extends I1> |
Hybrids.binaryCI1(OpEnvironment ops,
Class<? extends Op> opType,
O out,
I1 in1,
I2 in2,
Object... otherArgs)
Gets the best
BinaryHybridCI1 implementation for the given types
and arguments, populating its inputs. |
static <O> NullaryHybridCF<O> |
Hybrids.nullaryCF(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Object... otherArgs)
Gets the best
NullaryHybridCF implementation for the given types
and arguments, populating its inputs. |
static <O> NullaryHybridCF<O> |
Hybrids.nullaryCF(OpEnvironment ops,
Class<? extends Op> opType,
O out,
Object... otherArgs)
Gets the best
NullaryHybridCF implementation for the given types
and arguments, populating its inputs. |
static <I,O> UnaryHybridCF<I,O> |
Hybrids.unaryCF(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I> inType,
Object... otherArgs)
Gets the best
UnaryHybridCF implementation for the given types and
arguments, populating its inputs. |
static <I,O> UnaryHybridCF<I,O> |
Hybrids.unaryCF(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I in,
Object... otherArgs)
Gets the best
UnaryHybridCF implementation for the given types and
arguments, populating its inputs. |
static <I,O> UnaryHybridCF<I,O> |
Hybrids.unaryCF(OpEnvironment ops,
Class<? extends Op> opType,
O out,
I in,
Object... otherArgs)
Gets the best
UnaryHybridCF implementation for the given types and
arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.unaryCFI(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I> inType,
Object... otherArgs)
Gets the best
UnaryHybridCFI implementation for the given types and
arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.unaryCFI(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I in,
Object... otherArgs)
Gets the best
UnaryHybridCFI implementation for the given types and
arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.unaryCFI(OpEnvironment ops,
Class<? extends Op> opType,
O out,
I in,
Object... otherArgs)
Gets the best
UnaryHybridCFI implementation for the given types and
arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.unaryCI(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
Class<I> inType,
Object... otherArgs)
Gets the best
UnaryHybridCI implementation for the given types and
arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.unaryCI(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> outType,
I in,
Object... otherArgs)
Gets the best
UnaryHybridCI implementation for the given types and
arguments, populating its inputs. |
static <I,O extends I> |
Hybrids.unaryCI(OpEnvironment ops,
Class<? extends Op> opType,
O out,
I in,
Object... otherArgs)
Gets the best
UnaryHybridCI implementation for the given types and
arguments, populating its inputs. |
Modifier and Type | Method and Description |
---|---|
static <O> BinaryInplaceOp<? super O,O> |
Inplaces.binary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> argType,
Object... otherArgs)
Gets the best
BinaryInplaceOp implementation for the given types
and arguments, populating its inputs. |
static <O> BinaryInplaceOp<? super O,O> |
Inplaces.binary(OpEnvironment ops,
Class<? extends Op> opType,
O arg1,
O arg2,
Object... otherArgs)
Gets the best
BinaryInplaceOp implementation for the given types
and arguments, populating its inputs. |
static <I2,O> BinaryInplace1Op<? super O,I2,O> |
Inplaces.binary1(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> argType,
Class<I2> inType,
Object... otherArgs)
Gets the best
BinaryInplace1Op implementation for the given types
and arguments, populating its inputs. |
static <I2,O> BinaryInplace1Op<? super O,I2,O> |
Inplaces.binary1(OpEnvironment ops,
Class<? extends Op> opType,
O arg,
I2 in,
Object... otherArgs)
Gets the best
BinaryInplace1Op implementation for the given types
and arguments, populating its inputs. |
static <O> UnaryInplaceOp<? super O,O> |
Inplaces.unary(OpEnvironment ops,
Class<? extends Op> opType,
Class<O> argType,
Object... otherArgs)
Gets the best
UnaryInplaceOp implementation for the given types and
arguments, populating its inputs. |
static <O> UnaryInplaceOp<? super O,O> |
Inplaces.unary(OpEnvironment ops,
Class<? extends Op> opType,
O arg,
Object... otherArgs)
Gets the best
UnaryInplaceOp implementation for the given types and
arguments, populating its inputs. |
Copyright © 2014–2022 ImageJ. All rights reserved.