Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Future plans #1

Open
Rainer-Lang opened this issue Dec 11, 2015 · 7 comments
Open

Future plans #1

Rainer-Lang opened this issue Dec 11, 2015 · 7 comments
Labels

Comments

@Rainer-Lang
Copy link

Any plans for future development; any known issues?

@pakoito
Copy link
Owner

pakoito commented Dec 11, 2015

Known issues, the tests have to be moved out of the android project into the library one.

@pakoito
Copy link
Owner

pakoito commented Dec 11, 2015

Future development: add the tuples for 9 and 10 elements. Add any other FuncN for any combo of tuples if requested, i.e. three Pairs into a Sextet.

@pakoito pakoito changed the title Thanks. Very useful! Future plans Dec 11, 2015
@erickok
Copy link

erickok commented Dec 11, 2015

For lack of a better place to put this: 👍 Thanks from me too.

@Rainer-Lang
Copy link
Author

I'm very interested in eg "three Pairs into a Sextet"... and more ;-)

@pakoito
Copy link
Owner

pakoito commented Jan 19, 2016

@Rainer-Lang Feel free to do a PR or list the ones that you want for when I have some time in the coming months.

@Rainer-Lang
Copy link
Author

Please make an example for 3 and 4 to 7. So I can see how you want it and I can make for all others I need prs.

@pakoito
Copy link
Owner

pakoito commented Feb 14, 2016

@Rainer-Lang The pattern is quite simple. It'd look like

    public static <A, B, C, D, E, F, G> Func2<Triplet<A, B, C>, Quartet<D, E, F, G>, Septet<A, B, C, D, E, F, G>> toSeptetFromTripletAndQuartet() {
        return new Func2<Triplet<A, B, C>, Quartet<D, E, F, G>, Septet<A, B, C, D, E, F, G>>() {
            @Override
            public Septet<A, B, C, D, E, F, G> call(Triplet<A, B, C> objects, Quartet<D, E, F, G> objects2) {
                return Septet.with(objects.getValue0(), objects.getValue1(),  objects.getValue2(), objects2.getValue0(), objects2.getValue1(), objects2.getValue2(), objects2.getValue3());
            }
        };
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants