4 ms·
I like to see simplified loops in Java. For example, traverse two collections/arrays of the same size simultaneously. for (var f : fathers, var m : mothers) {
by haglin 8y ago
I like to see simplified loops in Java. For example, traverse two collections/arrays of the same size simultaneously.
for (var f : fathers, var m : mothers) {
families.add(new Family(f, m));
}
- crypto-jeronimo 8y agoIsn't there a Java equivalent to Python's `zip`?