Hello, i'm trying to create a library with utilities classes like containers using Java API. Could anyone help me?public interface Iterator(E) { bool hasNext(); E next(); void remove();
Here is the issue (as bearophile explained)
int opApply(int delegate(ref E) delegation);
Also, you may want to try an already-created library that's similar to Java in some respects:
http://schveiguy.github.io/dcollections/ -Steve