On Fri, 14 Jun 2013 13:13:06 -0400, Agustin <agustin.l.alva...@hotmail.com> wrote:

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

Reply via email to