# Class: com.pnfsoftware.jeb.core.units.code.asm.render.ConstantsFormatter

A formatter for a series code constants. For a series, the constants are `OR'ed` together using the PIPE \(`|`\) character. Those objects are used by [NumberFormatter](NumberFormatter)s.

## Constructor: ConstantsFormatter
- parameter: `cst`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.CodeConstant`

Description: Create a formatter for a single constant.
parameter: cst: constant to format

## Constructor: ConstantsFormatter
- parameter: `flags`, type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.asm.type.CodeConstant>`

Description: Create a formatter for constants.
parameter: flags: constants to format

## Constructor: ConstantsFormatter
- parameter: `flags`, type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.asm.type.CodeConstant>`
- parameter: `leftOver`, type: `java.lang.Object`

Description: Create a formatter for constants and a leftover value.
parameter: flags: constants to format
parameter: leftOver: optional leftover value

## Method: format
- return type: `java.lang.String`

Description: Format constants.
return: formatted constants

## Method: getConstants
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.asm.type.CodeConstant>`

Description: Get constants being formatted.
return: constants

