Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

ForEachCallback should type the array with a generic type #118

Open
anthonime opened this issue Feb 7, 2015 · 0 comments
Open

ForEachCallback should type the array with a generic type #118

anthonime opened this issue Feb 7, 2015 · 0 comments
Milestone

Comments

@anthonime
Copy link
Member

Turn :

public interface ForEachCallback {
T forEach(Object thisArg, Value element, int index, Array<?> array);
}

into
public interface ForEachCallback<T,E> {
T forEach(Object thisArg, E element, int index, Array array);
}

@anthonime anthonime added this to the 2.0 milestone Feb 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant