Package org.drools.traits.core.util
Class AbstractCodedHierarchyImpl<T>
java.lang.Object
org.drools.traits.core.util.AbstractBitwiseHierarchyImpl<T,HierNode<T>>
org.drools.traits.core.util.AbstractCodedHierarchyImpl<T>
- All Implemented Interfaces:
Externalizable,Serializable,CodedHierarchy<T>
- Direct Known Subclasses:
CodedHierarchyImpl,IndexedTypeHierarchy
public abstract class AbstractCodedHierarchyImpl<T>
extends AbstractBitwiseHierarchyImpl<T,HierNode<T>>
implements CodedHierarchy<T>, Externalizable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drools.traits.core.util.AbstractBitwiseHierarchyImpl
AbstractBitwiseHierarchyImpl.HierCodeComparator -
Field Summary
Fields inherited from class org.drools.traits.core.util.AbstractBitwiseHierarchyImpl
fixedRoot, line -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidancestorNodes(HierNode<T> x) protected Collection<T>ancestorValues(HierNode<T> node) protected Collection<T>childrenValues(HierNode<T> node) descendantNodes(HierNode<T> y) descendants(BitSet key) descendants(T y) protected Collection<T>descendantValues(HierNode<T> node) protected Collection<T>parentValues(HierNode<T> node) voidremoveMember(BitSet key) voidremoveMember(T val) Methods inherited from class org.drools.traits.core.util.AbstractBitwiseHierarchyImpl
add, clear, contains, getCode, getMember, getNodeByKey, getNodes, getSortedMap, getSortedMembers, hasKey, immediateChildren, immediateParents, isEmpty, joinCode, jointMembersCode, lowerBorder, lowerDescendants, meetCode, metMembersCode, numBit, parents, parents, readExternal, remove, size, stringToBitSet, superset, toBinaryString, toBinaryString, upperAncestors, upperBorder, writeExternalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.traits.core.factmodel.CodedHierarchy
getCode, getMember, getSortedMap, getSortedMembers, hasKey, immediateChildren, immediateParents, joinCode, jointMembersCode, lowerBorder, lowerDescendants, meetCode, metMembersCode, parents, parents, size, upperAncestors, upperBorderMethods inherited from interface java.io.Externalizable
readExternal, writeExternal
-
Constructor Details
-
AbstractCodedHierarchyImpl
public AbstractCodedHierarchyImpl()
-
-
Method Details
-
getNode
- Specified by:
getNodein classAbstractBitwiseHierarchyImpl<T,HierNode<T>>
-
addMember
- Specified by:
addMemberin interfaceCodedHierarchy<T>
-
removeMember
- Specified by:
removeMemberin interfaceCodedHierarchy<T>- Overrides:
removeMemberin classAbstractBitwiseHierarchyImpl<T,HierNode<T>>
-
removeMember
- Specified by:
removeMemberin interfaceCodedHierarchy<T>- Overrides:
removeMemberin classAbstractBitwiseHierarchyImpl<T,HierNode<T>>
-
parentValues
- Specified by:
parentValuesin classAbstractBitwiseHierarchyImpl<T,HierNode<T>>
-
ancestors
- Specified by:
ancestorsin interfaceCodedHierarchy<T>
-
ancestors
- Specified by:
ancestorsin interfaceCodedHierarchy<T>
-
ancestorValues
-
ancestorNodes
-
childrenValues
-
children
- Specified by:
childrenin interfaceCodedHierarchy<T>
-
children
- Specified by:
childrenin interfaceCodedHierarchy<T>
-
descendantValues
-
descendants
- Specified by:
descendantsin interfaceCodedHierarchy<T>
-
descendants
- Specified by:
descendantsin interfaceCodedHierarchy<T>
-
descendantNodes
-