# Class: com.pnfsoftware.jeb.util.primitives.IntegerList

Utility code for `int` arrays or [List](List)s of [Integer](Integer)s.

## Constructor: IntegerList


## Static Method: buildFromArray
- parameter: `a`, type: `int[]`
- parameter: `l`, type: `java.util.List<java.lang.Integer>`
- return type: `java.util.List<java.lang.Integer>`

Description: Replace a list's content with the values from an int array.
parameter: a: source array
parameter: l: destination list
return: the destination list

## Static Method: buildList
- parameter: `elts`, type: `int[]`
- return type: `java.util.List<java.lang.Integer>`

Description: Build a list of integers from varargs.
parameter: elts: values to add
return: a new list containing the provided values

## Static Method: buildListFromArray
- parameter: `a`, type: `int[]`
- return type: `java.util.List<java.lang.Integer>`

Description: Build a list of integers from an int array.
parameter: a: source array
return: a new list containing the array values

## Static Method: compareToArray
- parameter: `l`, type: `java.util.List<java.lang.Integer>`
- parameter: `a`, type: `int[]`
- return type: `boolean`

Description: Compare a list of integers with an int array.
parameter: l: list to compare
parameter: a: array to compare
return: true if both containers have the same values in the same order

## Static Method: format
- parameter: `l`, type: `int[][]`
- return type: `java.lang.String`

Description: Format a two\-dimensional int array.
parameter: l: array to format
return: a comma\-separated representation of nested arrays

## Static Method: format
- parameter: `l`, type: `int[]`
- return type: `java.lang.String`

Description: Format an int array.
parameter: l: array to format
return: a comma\-separated representation of the array

## Static Method: format
- parameter: `l`, type: `java.util.List<java.lang.Integer>`
- return type: `java.lang.String`

Description: Format a list of integers.
parameter: l: list to format
return: a comma\-separated representation of the list

