T
- public class IndexedTypeHierarchy<T> extends AbstractCodedHierarchyImpl<T> implements Externalizable
AbstractBitwiseHierarchyImpl.HierCodeComparator
Modifier and Type | Field and Description |
---|---|
protected Map<T,HierNode<T>> |
cache |
fixedRoot, line
Constructor and Description |
---|
IndexedTypeHierarchy() |
IndexedTypeHierarchy(T topElement,
BitSet topKey,
T bottomElement,
BitSet bottomKey) |
Modifier and Type | Method and Description |
---|---|
protected void |
add(HierNode<T> node) |
BitSet |
getBottomCode() |
protected HierNode<T> |
getNode(LatticeElement<T> name) |
protected HierNode<T> |
getNode(T name) |
BitSet |
getTopCode() |
void |
readExternal(ObjectInput objectInput) |
void |
setBottomCode(BitSet bottom) |
void |
setTopCode(BitSet top) |
String |
toString() |
void |
writeExternal(ObjectOutput objectOutput) |
addMember, ancestorNodes, ancestors, ancestors, ancestorValues, children, children, childrenValues, descendantNodes, descendants, descendants, descendantValues, parentValues, removeMember, removeMember
clear, contains, getCode, getMember, getNodeByKey, getNodes, getSortedMap, getSortedMembers, hasKey, immediateChildren, immediateParents, isEmpty, joinCode, jointMembersCode, lowerBorder, lowerDescendants, meetCode, metMembersCode, numBit, parents, parents, remove, size, stringToBitSet, superset, supersetOrEqualset, toBinaryString, toBinaryString, upperAncestors, upperBorder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCode, getMember, getSortedMap, getSortedMembers, hasKey, immediateChildren, immediateParents, joinCode, jointMembersCode, lowerBorder, lowerDescendants, meetCode, metMembersCode, parents, parents, size, upperAncestors, upperBorder
public BitSet getTopCode()
public BitSet getBottomCode()
public void setBottomCode(BitSet bottom)
public void setTopCode(BitSet top)
protected HierNode<T> getNode(T name)
getNode
in class AbstractCodedHierarchyImpl<T>
protected void add(HierNode<T> node)
add
in class AbstractBitwiseHierarchyImpl<T,HierNode<T>>
protected HierNode<T> getNode(LatticeElement<T> name)
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractBitwiseHierarchyImpl<T,HierNode<T>>
IOException
public void readExternal(ObjectInput objectInput) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractBitwiseHierarchyImpl<T,HierNode<T>>
IOException
ClassNotFoundException
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.