Soni L. utilise witches.town. Vous pouvez læ suivre et interagir si vous possédez un compte quelque part dans le "fediverse".

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

Soni L. @SoniEx2

Obviously not gonna use this code. There is a better way to do it, anyway.