com.wantedtech.common.xpresso.comprehension.AbstractTupleComprehension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xpresso Show documentation
Show all versions of xpresso Show documentation
The most pythonic way to code in Java
The newest version!
package com.wantedtech.common.xpresso.comprehension;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import com.wantedtech.common.xpresso.x;
import com.wantedtech.common.xpresso.functional.Function;
import com.wantedtech.common.xpresso.functional.Predicate;
import com.wantedtech.common.xpresso.helpers.Helpers;
import com.wantedtech.common.xpresso.types.tuple;
public abstract class AbstractTupleComprehension implements Iterable{
boolean before_for = true;
List> if_functions = Helpers.newArrayList();
List> else_functions = Helpers.newArrayList();
Predicate