coins.aflow
Class FlowAnalSymVectorImpl

java.lang.Object
  extended bycoins.aflow.util.BitVectorImpl
      extended bycoins.aflow.FlowAnalSymVectorImpl
All Implemented Interfaces:
BitVector, java.lang.Cloneable, FlowAnalSymVector

public class FlowAnalSymVectorImpl
extends BitVectorImpl
implements FlowAnalSymVector


Field Summary
(package private)  FlowResults fResults
           
 
Fields inherited from class coins.aflow.util.BitVectorImpl
fBitLength, fLongWordLength, fShiftMax, fVectorWord
 
Constructor Summary
FlowAnalSymVectorImpl(SubpFlow pSubpFlow)
          Creates a new instance of SymVectorImpl
 
Method Summary
 boolean addAll(java.util.Set pFlowAnalSyms)
          Adds the FlowAnalSymVector view of the given set to this vector.
 boolean contains(FlowAnalSym pFlowAnalSym)
          Does the set view of this vector contains the specified item?
 java.util.Set flowAnalSyms()
          Returns the set view of this vector.
 ExpVector flowAnalSymToExpVector()
           
 FlowAnalSymVectorIterator flowAnalSymVectorIterator()
           
static FlowAnalSymVector forSet(java.util.Set pFlowAnalSyms, SubpFlow pSubpFlow)
          Creates and returns a FlowAnalSymVector view of the given Set argument.
 SubpFlow getSubpFlow()
          Returns a SubpFlow instance associated with this vector.
 boolean remove(FlowAnalSym pFlowAnalSym)
          Removes the given argument from the set view of this vector.
 java.lang.String toStringDescriptive()
          Returns a possibly more descriptive string representation than toString() of this BitVector.
 java.lang.String toStringShort()
           
 
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
 

Field Detail

fResults

final FlowResults fResults
Constructor Detail

FlowAnalSymVectorImpl

public FlowAnalSymVectorImpl(SubpFlow pSubpFlow)
Creates a new instance of SymVectorImpl

Method Detail

getSubpFlow

public SubpFlow getSubpFlow()
Description copied from interface: FlowAnalSymVector
Returns a SubpFlow instance associated with this vector.

Specified by:
getSubpFlow in interface FlowAnalSymVector

flowAnalSyms

public java.util.Set flowAnalSyms()
Description copied from interface: FlowAnalSymVector
Returns the set view of this vector.

Specified by:
flowAnalSyms in interface FlowAnalSymVector

contains

public boolean contains(FlowAnalSym pFlowAnalSym)
Description copied from interface: FlowAnalSymVector
Does the set view of this vector contains the specified item?

Specified by:
contains in interface FlowAnalSymVector

remove

public boolean remove(FlowAnalSym pFlowAnalSym)
Description copied from interface: FlowAnalSymVector
Removes the given argument from the set view of this vector. The corresponding bit in this vector will be reset.

Specified by:
remove in interface FlowAnalSymVector
Returns:
true if actually the given argument existed and has been removed.

forSet

public static FlowAnalSymVector forSet(java.util.Set pFlowAnalSyms,
                                       SubpFlow pSubpFlow)
Creates and returns a FlowAnalSymVector view of the given Set argument.


flowAnalSymVectorIterator

public FlowAnalSymVectorIterator flowAnalSymVectorIterator()
Specified by:
flowAnalSymVectorIterator in interface FlowAnalSymVector

addAll

public boolean addAll(java.util.Set pFlowAnalSyms)
Description copied from interface: FlowAnalSymVector
Adds the FlowAnalSymVector view of the given set to this vector.

Specified by:
addAll in interface FlowAnalSymVector
Returns:
true if this vector changed after the operation.

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

toStringShort

public java.lang.String toStringShort()
Specified by:
toStringShort in interface FlowAnalSymVector

flowAnalSymToExpVector

public ExpVector flowAnalSymToExpVector()
Specified by:
flowAnalSymToExpVector in interface FlowAnalSymVector