final public void addPositions(Set<Integer> list) {
    int[] positions = ArrayUtils
        .toPrimitive(list.toArray(new Integer[list.size()]));
    addPositions(positions);
  }
final public void addPositions ( Set < Integer > list ) { int [ ] positions = ArrayUtils . toPrimitive ( list . toArray ( new Integer [ list . size ( ) ] ) ) ; addPositions ( positions ) ; }
Adds the positions.

@param list the list