Package org.drools.verifier.core.maps
Class InspectorList<InspectorType extends HasUUID>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<InspectorType>
-
- org.drools.verifier.core.maps.InspectorList<InspectorType>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<InspectorType>,java.util.Collection<InspectorType>,java.util.List<InspectorType>,java.util.RandomAccess,HasKeys,HasUUID,IsConflicting<InspectorList>,IsOverlapping,IsRedundant<InspectorList>,IsSubsuming<InspectorList>
- Direct Known Subclasses:
LeafInspectorList,UpdatableInspectorList
public class InspectorList<InspectorType extends HasUUID> extends java.util.ArrayList<InspectorType> implements IsOverlapping, IsSubsuming<InspectorList>, IsRedundant<InspectorList>, IsConflicting<InspectorList>, HasKeys
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.verifier.core.relations.IsConflicting
IsConflicting.Covers<T>
-
-
Constructor Summary
Constructors Constructor Description InspectorList(boolean record, AnalyzerConfiguration configuration)InspectorList(AnalyzerConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(InspectorType inspector)booleanconflicts(InspectorList other)UUIDKeygetUuidKey()booleanisRedundant(InspectorList other)Key[]keys()booleanoverlaps(java.lang.Object other)booleansubsumes(InspectorList other)java.lang.StringtoString()-
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Constructor Detail
-
InspectorList
public InspectorList(AnalyzerConfiguration configuration)
-
InspectorList
public InspectorList(boolean record, AnalyzerConfiguration configuration)
-
-
Method Detail
-
overlaps
public boolean overlaps(java.lang.Object other)
- Specified by:
overlapsin interfaceIsOverlapping
-
getUuidKey
public UUIDKey getUuidKey()
- Specified by:
getUuidKeyin interfaceHasUUID
-
conflicts
public boolean conflicts(InspectorList other)
- Specified by:
conflictsin interfaceIsConflicting<InspectorType extends HasUUID>
-
isRedundant
public boolean isRedundant(InspectorList other)
- Specified by:
isRedundantin interfaceIsRedundant<InspectorType extends HasUUID>
-
subsumes
public boolean subsumes(InspectorList other)
- Specified by:
subsumesin interfaceIsSubsuming<InspectorType extends HasUUID>
-
add
public boolean add(InspectorType inspector)
- Specified by:
addin interfacejava.util.Collection<InspectorType extends HasUUID>- Specified by:
addin interfacejava.util.List<InspectorType extends HasUUID>- Overrides:
addin classjava.util.ArrayList<InspectorType extends HasUUID>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.util.AbstractCollection<InspectorType extends HasUUID>
-
-