coins.aflow
Class DefVectorImpl
java.lang.Object
coins.aflow.util.BitVectorImpl
coins.aflow.PointVectorImpl
coins.aflow.DefVectorImpl
- All Implemented Interfaces:
- BitVector, java.lang.Cloneable, DefVector, PointVector
- public class DefVectorImpl
- extends PointVectorImpl
- implements DefVector
DefVectorImpl 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 |
DefVectorImpl
DefVectorImpl(SubpFlow pSubpFlow)
contains
public boolean contains(SetRefRepr pSetRefRepr)
- Description copied from interface:
DefVector
- Returns true if this DefVector's bit corresponding to the given argument is set.
- Specified by:
contains in interface DefVector
defVectorIterator
public DefVectorIterator defVectorIterator()
- Specified by:
defVectorIterator in interface DefVector
forSet
public static DefVector forSet(java.util.Set pSetRefReprs,
SubpFlow pSubpFlow)
- Creates a DefVector from a set of SetRefReprs.
toStringDescriptive
public java.lang.String toStringDescriptive()
- Prints all the SetRefReprs whose corresponding bit is set in this DefVector.
- Specified by:
toStringDescriptive in interface BitVector- Overrides:
toStringDescriptive in class BitVectorImpl
getSetRefReprs
public java.util.Set getSetRefReprs()
- Returns the Set view of this DefVector (in terms of the set of SetRefReprs).
- Specified by:
getSetRefReprs in interface DefVector