|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CodedHierarchy<T>
| Method Summary | |
|---|---|
void |
addMember(T val,
BitSet key)
|
Collection<T> |
ancestors(BitSet key)
|
Collection<T> |
ancestors(T x)
|
Collection<T> |
children(BitSet key)
|
Collection<T> |
children(T y)
|
Collection<T> |
descendants(BitSet key)
|
Collection<T> |
descendants(T y)
|
BitSet |
getCode(T val)
|
T |
getMember(BitSet key)
|
Map<T,BitSet> |
getSortedMap()
|
List<T> |
getSortedMembers()
|
boolean |
hasKey(BitSet key)
|
Collection<T> |
immediateChildren(BitSet key)
* Return the "ceiling" of the key's descendants, excluding the element whose code is key, if any |
Collection<T> |
immediateParents(BitSet key)
Return the "floor" of the key's ancetsors, down to and excluding the element whose code is key |
BitSet |
joinCode(Collection<BitSet> codes)
|
BitSet |
jointMembersCode(Collection<T> vals)
|
Collection<T> |
lowerBorder(BitSet key)
Return the "ceiling" of the key's descendants, up to and including the element whose code is key |
Collection<T> |
lowerDescendants(BitSet key)
Returns all elements whose code is a descendant of key |
BitSet |
meetCode(Collection<BitSet> codes)
|
BitSet |
metMembersCode(Collection<T> vals)
|
Collection<T> |
parents(BitSet x)
|
Collection<T> |
parents(T x)
|
void |
removeMember(BitSet key)
|
void |
removeMember(T val)
|
int |
size()
|
Collection<T> |
upperAncestors(BitSet key)
Returns all elements whose code is an ancestor of key |
Collection<T> |
upperBorder(BitSet key)
Return the "floor" of the key's ancestors, down to and including the element whose code is key, if any |
| Method Detail |
|---|
int size()
void addMember(T val,
BitSet key)
void removeMember(T val)
void removeMember(BitSet key)
BitSet getCode(T val)
BitSet metMembersCode(Collection<T> vals)
BitSet jointMembersCode(Collection<T> vals)
BitSet meetCode(Collection<BitSet> codes)
BitSet joinCode(Collection<BitSet> codes)
List<T> getSortedMembers()
Map<T,BitSet> getSortedMap()
T getMember(BitSet key)
boolean hasKey(BitSet key)
Collection<T> children(T y)
Collection<T> descendants(T y)
Collection<T> children(BitSet key)
Collection<T> descendants(BitSet key)
Collection<T> lowerBorder(BitSet key)
key - a key, possibly the join of a number of member keys
Collection<T> immediateChildren(BitSet key)
key - a key, possibly the join of a number of member keys
Collection<T> lowerDescendants(BitSet key)
key -
Collection<T> parents(T x)
Collection<T> parents(BitSet x)
Collection<T> ancestors(T x)
Collection<T> ancestors(BitSet key)
Collection<T> upperBorder(BitSet key)
key - a key, possibly the meet of a number of member keys
Collection<T> immediateParents(BitSet key)
key - a key, possibly the meet of a number of member keys
Collection<T> upperAncestors(BitSet key)
key -
|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||