software.amazon.event.ruler.ACTask Maven / Gradle / Ivy
package software.amazon.event.ruler;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Queue;
import java.util.Set;
import static software.amazon.event.ruler.SetOperations.intersection;
/**
* Represents the state of an Array-Consistent rule-finding project.
*/
class ACTask {
// the event we're matching rules to, and its fieldcount
public final Event event;
final int fieldCount;
// the rules that matched the event, if we find any
private final Set