Soni L. @SoniEx2@witches.town
Suivre

Iterator<Algorithm> it = algorithms.iterator();
for (Algorithm algorithm : (Iterable<Algorithm>) () -> it) {
if (algorithm == toFind) break;
}
return it.hasNext() ? it.next() : null;