# Class: com.pnfsoftware.jeb.core.units.code.DFAUtil

Utility routines for `Data Flow Analysis` objects \(see [IDFA](IDFA) and its implementation [DFA4](DFA4)\).

## Constructor: DFAUtil


## Static Method: formatChain
- parameter: `dfa`, type: `com.pnfsoftware.jeb.core.units.code.IDFA<?>`
- parameter: `chain`, type: `java.util.Map<java.lang.Integer,java.util.Collection<T>>`
- return type: `java.lang.String`

Description: Format a data chain as: `(regId)={pos0, pos1, ...} ...`. The ids are naturally ordered. Positions for each id are also naturally ordered. Consequently, performing chain comparison using string comparison on the rendered chain is a viable solution.
parameter: chain: chain
return: formatted chain

## Static Method: formatVars
- parameter: `dfa`, type: `com.pnfsoftware.jeb.core.units.code.IDFA<?>`
- parameter: `vars`, type: `java.util.Collection<java.lang.Integer>`
- return type: `java.lang.String`


## Static Method: formatVars
- parameter: `dfa`, type: `com.pnfsoftware.jeb.core.units.code.IDFA<?>`
- parameter: `vars`, type: `java.util.Collection<java.lang.Integer>`
- parameter: `reorder`, type: `boolean`
- return type: `java.lang.String`


