public final class Inplaces extends Object
UnaryInplaceOp
Modifier and Type | Method and Description |
---|---|
static <O> BinaryInplaceOp<? super O,O> |
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> |
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> |
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> |
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> |
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> |
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. |
public static <O> UnaryInplaceOp<? super O,O> unary(OpEnvironment ops, Class<? extends Op> opType, Class<O> argType, Object... otherArgs)
UnaryInplaceOp
implementation for the given types and
arguments, populating its inputs.ops
- The OpEnvironment
to search for a matching op.opType
- The Class
of the operation. If multiple
UnaryInplaceOp
s share this type (e.g., the type is an
interface which multiple UnaryInplaceOp
s implement), then
the best UnaryInplaceOp
implementation to use will be
selected automatically from the type and arguments.argType
- The Class
of the UnaryInplaceOp
typed
argument.otherArgs
- The operation's arguments, excluding the typed argument
value.UnaryInplaceOp
with populated inputs, ready to use.public static <O> UnaryInplaceOp<? super O,O> unary(OpEnvironment ops, Class<? extends Op> opType, O arg, Object... otherArgs)
UnaryInplaceOp
implementation for the given types and
arguments, populating its inputs.ops
- The OpEnvironment
to search for a matching op.opType
- The Class
of the operation. If multiple
UnaryInplaceOp
s share this type (e.g., the type is an
interface which multiple UnaryInplaceOp
s implement), then
the best UnaryInplaceOp
implementation to use will be
selected automatically from the type and arguments.arg
- The typed argument.otherArgs
- The operation's arguments, excluding the typed argument
value.UnaryInplaceOp
with populated inputs, ready to use.public static <I2,O> BinaryInplace1Op<? super O,I2,O> binary1(OpEnvironment ops, Class<? extends Op> opType, Class<O> argType, Class<I2> inType, Object... otherArgs)
BinaryInplace1Op
implementation for the given types
and arguments, populating its inputs.ops
- The OpEnvironment
to search for a matching op.opType
- The Class
of the operation. If multiple
BinaryInplace1Op
s share this type (e.g., the type is an
interface which multiple BinaryInplace1Op
s implement),
then the best BinaryInplace1Op
implementation to use will
be selected automatically from the type and arguments.argType
- The Class
of the BinaryInplace1Op
mutable
argument (typed output / first input).inType
- The Class
of the BinaryInplace1Op
second
typed input.otherArgs
- The operation's arguments, excluding the typed argument
values.BinaryInplace1Op
with populated inputs, ready to use.public static <I2,O> BinaryInplace1Op<? super O,I2,O> binary1(OpEnvironment ops, Class<? extends Op> opType, O arg, I2 in, Object... otherArgs)
BinaryInplace1Op
implementation for the given types
and arguments, populating its inputs.ops
- The OpEnvironment
to search for a matching op.opType
- The Class
of the operation. If multiple
BinaryInplace1Op
s share this type (e.g., the type is an
interface which multiple BinaryInplace1Op
s implement),
then the best BinaryInplace1Op
implementation to use will
be selected automatically from the type and arguments.arg
- The mutable argument (typed output / first input).in
- The second typed input.otherArgs
- The operation's arguments, excluding the typed argument
values.BinaryInplace1Op
with populated inputs, ready to use.public static <O> BinaryInplaceOp<? super O,O> binary(OpEnvironment ops, Class<? extends Op> opType, Class<O> argType, Object... otherArgs)
BinaryInplaceOp
implementation for the given types
and arguments, populating its inputs.ops
- The OpEnvironment
to search for a matching op.opType
- The Class
of the operation. If multiple
BinaryInplaceOp
s share this type (e.g., the type is an
interface which multiple BinaryInplaceOp
s implement), then
the best BinaryInplaceOp
implementation to use will be
selected automatically from the type and arguments.argType
- The Class
of the BinaryInplaceOp
typed
arguments.otherArgs
- The operation's arguments, excluding the typed argument
values.BinaryInplaceOp
with populated inputs, ready to use.public static <O> BinaryInplaceOp<? super O,O> binary(OpEnvironment ops, Class<? extends Op> opType, O arg1, O arg2, Object... otherArgs)
BinaryInplaceOp
implementation for the given types
and arguments, populating its inputs.ops
- The OpEnvironment
to search for a matching op.opType
- The Class
of the operation. If multiple
BinaryInplaceOp
s share this type (e.g., the type is an
interface which multiple BinaryInplaceOp
s implement), then
the best BinaryInplaceOp
implementation to use will be
selected automatically from the type and arguments.arg1
- The first typed argument.arg2
- The second typed argument.otherArgs
- The operation's arguments, excluding the typed argument
values.BinaryInplaceOp
with populated inputs, ready to use.Copyright © 2014–2022 ImageJ. All rights reserved.