The simple idea that comes to my mind for dividing the method is to "find smaller tasks with feeling", so here are some tips:
Make method for item level
processCollection(collection) {
for (Item i: collection)
processCollectionItem(i, ...other args...);
}
// does a
instr 1
instr 2
instr 3
instr 4
// does b
instr 5
instr 6
instr 7
instr 8
a(...);
b(...);
, -
map.put(a[0], b[0]);
map.put(a[1], b[1]);
...
putKeysAndValues(a, b);
putKeysAndValues(a, b) {
for (int i=0; i<a.length; i++)
map.put(a[i], b[i]);
}