public static String serializeInt ( Integer [ ] integers ) { if ( integers == null ) { return "" ; } return Arrays . stream ( integers ) . map ( i -> Integer . toString ( i ) ) . collect ( Collectors . joining ( "," ) ) ; }
Serialize Integer array to comma separated string .