
com.aol.cyclops.lambda.tuple.reorder.ReorderP1 Maven / Gradle / Ivy
package com.aol.cyclops.lambda.tuple.reorder;
import com.aol.cyclops.lambda.tuple.PTuple1;
import com.aol.cyclops.lambda.tuple.TupleImpl;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.function.Function;
public class ReorderP1 extends TupleImpl {
private final Function, NT1> v1S;
private final PTuple1 host;
public ReorderP1(Function, NT1> v1S, PTuple1 host) {
super(Arrays.asList(), 1);
this.v1S = v1S;
this.host = host;
}
public NT1 v1(){
return v1S.apply(host);
}
@Override
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy