coins.aflow
Class ExpVectorImpl
java.lang.Object
coins.aflow.util.BitVectorImpl
coins.aflow.ExpVectorImpl
- All Implemented Interfaces:
- BitVector, java.lang.Cloneable, ExpVector
- public class ExpVectorImpl
- extends BitVectorImpl
- implements ExpVector
ExpVectorImpl class:
| Methods inherited from class coins.aflow.util.BitVectorImpl |
bitVectorIterator, clone, equals, getBit, getBitLength, getVectorWord, getWordLength, hashCode, isSet, isZero, resetBit, setBit, toString, vectorAnd, vectorCopy, vectorEqual, vectorNot, vectorOr, vectorReset, vectorSub, vectorXor |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface coins.aflow.util.BitVector |
bitVectorIterator, equals, getBit, getBitLength, getVectorWord, getWordLength, isSet, isZero, resetBit, setBit, toString, vectorAnd, vectorCopy, vectorEqual, vectorNot, vectorOr, vectorReset, vectorSub, vectorXor |
fResults
FlowResults fResults
ExpVectorImpl
protected ExpVectorImpl(SubpFlow pSubpFlow)
getSubpFlow
public SubpFlow getSubpFlow()
- Description copied from interface:
ExpVector
- SubpFlow instance associated with this ExpVector.
- Specified by:
getSubpFlow in interface ExpVector
exps
public java.util.Set exps()
- Description copied from interface:
ExpVector
- Returns the
Set of FlowExpIds whose corresponding bits are set in this ExpVector.
- Specified by:
exps in interface ExpVector
contains
public boolean contains(FlowExpId pFlowExpId)
- Description copied from interface:
ExpVector
- Returns
true if this ExpVector's bit corresponding to the given argument pFlowExpId is set. Returns false otherwise.
- Specified by:
contains in interface ExpVector
forSet
public static ExpVector forSet(java.util.Set pExps,
SubpFlow pSubpFlow)
- Returns an
ExpVector whose bits that are set correspond to the elements of the given Set pExps.
toStringConcise
public java.lang.String toStringConcise()
toStringShort
public java.lang.String toStringShort()
- Specified by:
toStringShort in interface ExpVector
toStringByName
public java.lang.String toStringByName()
toStringDescriptive
public java.lang.String toStringDescriptive()
- Description copied from interface:
BitVector
- Returns a possibly more descriptive string representation than
toString() of this BitVector.
- Specified by:
toStringDescriptive in interface BitVector- Overrides:
toStringDescriptive in class BitVectorImpl
expVectorIterator
public ExpVectorIterator expVectorIterator()
- Specified by:
expVectorIterator in interface ExpVector