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:
Serializable,Cloneable,Iterable<InspectorType>,Collection<InspectorType>,List<InspectorType>,RandomAccess,HasKeys,HasUUID,IsConflicting<InspectorList>,IsOverlapping,IsRedundant<InspectorList>,IsSubsuming<InspectorList>
- Direct Known Subclasses:
LeafInspectorList,UpdatableInspectorList
public class InspectorList<InspectorType extends HasUUID> extends 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>
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
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(Object other)booleansubsumes(InspectorList other)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
-
Methods inherited from class java.util.AbstractCollection
containsAll
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Constructor Detail
-
InspectorList
public InspectorList(AnalyzerConfiguration configuration)
-
InspectorList
public InspectorList(boolean record, AnalyzerConfiguration configuration)
-
-
Method Detail
-
overlaps
public boolean overlaps(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 interfaceCollection<InspectorType extends HasUUID>- Specified by:
addin interfaceList<InspectorType extends HasUUID>- Overrides:
addin classArrayList<InspectorType extends HasUUID>
-
toString
public String toString()
- Overrides:
toStringin classAbstractCollection<InspectorType extends HasUUID>
-
-