Replace portion of String

To replace specific portion of String, say we have String like Hello 1234! and we want to convert it to Hello 12World34! then we don’t have any direct way to go with String. Continue reading

Primitive Arrays as a List

Noticed many times that conversion of int[] to List<Integer> is headache. When you write Arrays.asList(new int[]{1,2,3}); it will return Continue reading