Package org.drools.verifier.core.maps
Class InspectorMultiMap<GroupBy extends java.lang.Comparable,Value extends IsConflicting & IsRedundant & HumanReadable>
- java.lang.Object
-
- org.drools.verifier.core.maps.InspectorMultiMap<GroupBy,Value>
-
- All Implemented Interfaces:
HasConflicts,HasKeys,HasRedundancy,HasUUID,IsConflicting,IsRedundant,IsSubsuming
- Direct Known Subclasses:
ActionsInspectorMultiMap,ConditionsInspectorMultiMap
public class InspectorMultiMap<GroupBy extends java.lang.Comparable,Value extends IsConflicting & IsRedundant & HumanReadable> extends java.lang.Object implements HasConflicts, HasRedundancy, IsConflicting, IsRedundant, IsSubsuming, HasKeys
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.verifier.core.relations.IsConflicting
IsConflicting.Covers<T>
-
-
Constructor Summary
Constructors Constructor Description InspectorMultiMap(AnalyzerConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAllValues(GroupBy groupBy, InspectorList<Value> list)java.util.Collection<Value>allValues()booleanconflicts(java.lang.Object other)LeafInspectorList<Value>get(GroupBy groupBy)UUIDKeygetUuidKey()ConflicthasConflicts()RedundancyResult<GroupBy,Value>hasRedundancy()booleanisRedundant(java.lang.Object other)Key[]keys()java.util.Set<GroupBy>keySet()voidput(GroupBy groupBy, Value value)voidputAllValues(GroupBy groupBy, LeafInspectorList<Value> values)booleansubsumes(java.lang.Object other)
-
-
-
Constructor Detail
-
InspectorMultiMap
public InspectorMultiMap(AnalyzerConfiguration configuration)
-
-
Method Detail
-
hasConflicts
public Conflict hasConflicts()
- Specified by:
hasConflictsin interfaceHasConflicts<GroupBy extends java.lang.Comparable>
-
hasRedundancy
public RedundancyResult<GroupBy,Value> hasRedundancy()
- Specified by:
hasRedundancyin interfaceHasRedundancy
-
conflicts
public boolean conflicts(java.lang.Object other)
- Specified by:
conflictsin interfaceIsConflicting<GroupBy extends java.lang.Comparable>
-
isRedundant
public boolean isRedundant(java.lang.Object other)
- Specified by:
isRedundantin interfaceIsRedundant<GroupBy extends java.lang.Comparable>
-
subsumes
public boolean subsumes(java.lang.Object other)
- Specified by:
subsumesin interfaceIsSubsuming<GroupBy extends java.lang.Comparable>
-
getUuidKey
public UUIDKey getUuidKey()
- Specified by:
getUuidKeyin interfaceHasUUID
-
keySet
public java.util.Set<GroupBy> keySet()
-
get
public LeafInspectorList<Value> get(GroupBy groupBy)
-
putAllValues
public void putAllValues(GroupBy groupBy, LeafInspectorList<Value> values)
-
addAllValues
public void addAllValues(GroupBy groupBy, InspectorList<Value> list)
-
allValues
public java.util.Collection<Value> allValues()
-
-