本文整理汇总了Java中org.jooq.lambda.tuple.Tuple1类的典型用法代码示例。如果您正苦于以下问题:Java Tuple1类的具体用法?Java Tuple1怎么用?Java Tuple1使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Tuple1类属于org.jooq.lambda.tuple包,在下文中一共展示了Tuple1类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: window
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Map this stream to a windowed stream with 1 distinct windows.
*/
@Generated("This method was generated using jOOQ-tools")
default Seq<Tuple1<Window<T>>> window(
WindowSpecification<T> specification1
) {
List<Tuple2<T, Long>> buffer = zipWithIndex().toList();
Map<?, Partition<T>> partitions1 = SeqUtils.partitions(specification1, buffer);
return seq(buffer)
.map(t -> tuple(
(Window<T>) new WindowImpl<>(t, partitions1.get(specification1.partition().apply(t.v1)), specification1)
))
.onClose(this::close);
}
示例2: applyPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Partially apply this function to the arguments.
*/
default Function13<T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R> applyPartially(Tuple1<? extends T1> args) {
return (v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> apply(args.v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14);
}
示例3: acceptPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Let this consumer partially accept the arguments.
*/
default Consumer5<T2, T3, T4, T5, T6> acceptPartially(Tuple1<? extends T1> args) {
return (v2, v3, v4, v5, v6) -> accept(args.v1, v2, v3, v4, v5, v6);
}
示例4: acceptPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Let this consumer partially accept the arguments.
*/
default Consumer6<T2, T3, T4, T5, T6, T7> acceptPartially(Tuple1<? extends T1> args) {
return (v2, v3, v4, v5, v6, v7) -> accept(args.v1, v2, v3, v4, v5, v6, v7);
}
示例5: applyPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Partially apply this function to the arguments.
*/
default Function0<R> applyPartially(Tuple1<? extends T1> args) {
return () -> apply(args.v1);
}
示例6: applyPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Partially apply this function to the arguments.
*/
default Function8<T2, T3, T4, T5, T6, T7, T8, T9, R> applyPartially(Tuple1<? extends T1> args) {
return (v2, v3, v4, v5, v6, v7, v8, v9) -> apply(args.v1, v2, v3, v4, v5, v6, v7, v8, v9);
}
示例7: applyPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Partially apply this function to the arguments.
*/
default Function3<T2, T3, T4, R> applyPartially(Tuple1<? extends T1> args) {
return (v2, v3, v4) -> apply(args.v1, v2, v3, v4);
}
示例8: acceptPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Let this consumer partially accept the arguments.
*/
default Consumer15<T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> acceptPartially(Tuple1<? extends T1> args) {
return (v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16) -> accept(args.v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16);
}
示例9: applyPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Partially apply this function to the arguments.
*/
default Function1<T2, R> applyPartially(Tuple1<? extends T1> args) {
return (v2) -> apply(args.v1, v2);
}
示例10: applyPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Partially apply this function to the arguments.
*/
default Function9<T2, T3, T4, T5, T6, T7, T8, T9, T10, R> applyPartially(Tuple1<? extends T1> args) {
return (v2, v3, v4, v5, v6, v7, v8, v9, v10) -> apply(args.v1, v2, v3, v4, v5, v6, v7, v8, v9, v10);
}
示例11: applyPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Partially apply this function to the arguments.
*/
default Function10<T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R> applyPartially(Tuple1<? extends T1> args) {
return (v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> apply(args.v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11);
}
示例12: applyPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Partially apply this function to the arguments.
*/
default Function6<T2, T3, T4, T5, T6, T7, R> applyPartially(Tuple1<? extends T1> args) {
return (v2, v3, v4, v5, v6, v7) -> apply(args.v1, v2, v3, v4, v5, v6, v7);
}
示例13: applyPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Partially apply this function to the arguments.
*/
default Function2<T2, T3, R> applyPartially(Tuple1<? extends T1> args) {
return (v2, v3) -> apply(args.v1, v2, v3);
}
示例14: applyPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Partially apply this function to the arguments.
*/
default Function15<T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R> applyPartially(Tuple1<? extends T1> args) {
return (v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16) -> apply(args.v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16);
}
示例15: acceptPartially
import org.jooq.lambda.tuple.Tuple1; //导入依赖的package包/类
/**
* Let this consumer partially accept the arguments.
*/
default Consumer2<T2, T3> acceptPartially(Tuple1<? extends T1> args) {
return (v2, v3) -> accept(args.v1, v2, v3);
}