Package org.tensorics.core.booleans.lang
Class OngoingDetection
- java.lang.Object
-
- org.tensorics.core.booleans.lang.OngoingDetection
-
public class OngoingDetection extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OngoingDetection(Tensor<java.lang.Boolean> tensor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <C extends java.lang.Comparable<C>>
java.lang.Iterable<C>changesAlong(java.lang.Class<C> direction)
Defines the direction of the tensor in which the searching of the changes will be performed.<C> java.lang.Iterable<C>
changesAlong(java.lang.Class<C> direction, java.util.Comparator<C> comparator)
-
-
-
Constructor Detail
-
OngoingDetection
public OngoingDetection(Tensor<java.lang.Boolean> tensor)
-
-
Method Detail
-
changesAlong
public <C extends java.lang.Comparable<C>> java.lang.Iterable<C> changesAlong(java.lang.Class<C> direction)
Defines the direction of the tensor in which the searching of the changes will be performed.This class must implement
Comparable
.- Parameters:
direction
- the dimension in which direction to search- Returns:
-
changesAlong
public <C> java.lang.Iterable<C> changesAlong(java.lang.Class<C> direction, java.util.Comparator<C> comparator)
-
-