Module org.scijava.ops.image
Package org.scijava.ops.image.logic
Class BooleanTypeLogic<B extends BooleanType<B>,C extends Comparable<C>>
- java.lang.Object
-
- org.scijava.ops.image.logic.BooleanTypeLogic<B,C>
-
public class BooleanTypeLogic<B extends BooleanType<B>,C extends Comparable<C>> extends Object
Logic operations withBooleanTypeas output.- Author:
- Leon Yang
-
-
Field Summary
Fields Modifier and Type Field Description Computers.Arity2<B,B,B>anderPerforms logical and (&&) between twoBooleanTypes.Computers.Arity2<C,C,B>equalsComputers.Arity2<C,C,B>greaterThanComputers.Arity2<C,C,B>greaterThanOrEqualComputers.Arity2<C,C,B>lessThanComputers.Arity2<C,C,B>lessThanOrEqualComputers.Arity1<B,B>notComputers.Arity2<C,C,B>notEqualsComputers.Arity2<B,B,B>orPerforms logical or (||) between twoBooleanTypes.Computers.Arity2<B,B,B>xorPerforms logical xor (^) between twoBooleanTypes.
-
Constructor Summary
Constructors Constructor Description BooleanTypeLogic()
-
-
-
Field Detail
-
ander
public final Computers.Arity2<B extends BooleanType<B>,B extends BooleanType<B>,B extends BooleanType<B>> ander
Performs logical and (&&) between twoBooleanTypes.- Input parameters:
in1- the first {@link BooleanType}in2- the second {@link BooleanType}- Container parameters:
out- the preallocated result container- Implementation Note:
- op names='logic.and'
-
greaterThan
public final Computers.Arity2<C extends Comparable<C>,C extends Comparable<C>,B extends BooleanType<B>> greaterThan
- Input parameters:
in1- the first {@link Comparable}{@code} in2- the second {@link Comparable}{@code} - Container parameters:
out- the preallocated result container- Implementation Note:
- op names='logic.greaterThan'
-
greaterThanOrEqual
public final Computers.Arity2<C extends Comparable<C>,C extends Comparable<C>,B extends BooleanType<B>> greaterThanOrEqual
- Input parameters:
in1- the first {@link Comparable}{@code} in2- the second {@link Comparable}{@code} - Container parameters:
out- the preallocated result container- Implementation Note:
- op names='logic.greaterThanOrEqual'
-
lessThan
public final Computers.Arity2<C extends Comparable<C>,C extends Comparable<C>,B extends BooleanType<B>> lessThan
- Input parameters:
in1- the first {@link Comparable}{@code} in2- the second {@link Comparable}{@code} - Container parameters:
out- the preallocated result container- Implementation Note:
- op names='logic.lessThan'
-
lessThanOrEqual
public final Computers.Arity2<C extends Comparable<C>,C extends Comparable<C>,B extends BooleanType<B>> lessThanOrEqual
- Input parameters:
in1- the first {@link Comparable}{@code} in2- the second {@link Comparable}{@code} - Container parameters:
out- the preallocated result container- Implementation Note:
- op names='logic.lessThanOrEqual'
-
not
public final Computers.Arity1<B extends BooleanType<B>,B extends BooleanType<B>> not
- Input parameters:
in1- some {@link BooleanType}- Container parameters:
out- the preallocated result container- Implementation Note:
- op names='logic.not'
-
equals
public final Computers.Arity2<C extends Comparable<C>,C extends Comparable<C>,B extends BooleanType<B>> equals
- Input parameters:
in1- the first {@link Comparable}{@code} in2- the second {@link Comparable}{@code} - Container parameters:
out- the preallocated result container- Implementation Note:
- op names='logic.equal'
-
notEquals
public final Computers.Arity2<C extends Comparable<C>,C extends Comparable<C>,B extends BooleanType<B>> notEquals
- Input parameters:
in1- the first {@link Comparable}{@code} in2- the second {@link Comparable}{@code} - Container parameters:
out- the preallocated result container- Implementation Note:
- op names='logic.notEqual'
-
or
public final Computers.Arity2<B extends BooleanType<B>,B extends BooleanType<B>,B extends BooleanType<B>> or
Performs logical or (||) between twoBooleanTypes.- Input parameters:
in1- the first {@link BooleanType}in2- the second {@link BooleanType}- Container parameters:
out- the preallocated result container- Implementation Note:
- op names='logic.or'
-
xor
public final Computers.Arity2<B extends BooleanType<B>,B extends BooleanType<B>,B extends BooleanType<B>> xor
Performs logical xor (^) between twoBooleanTypes.- Input parameters:
in1- the first {@link BooleanType}in2- the second {@link BooleanType}- Container parameters:
out- the preallocated result container- Implementation Note:
- op names='logic.xor'
-
-