org.jooq.lambda.tuple.Tuple.tuple()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(6.3k)|赞(0)|评价(0)|浏览(126)

本文整理了Java中org.jooq.lambda.tuple.Tuple.tuple()方法的一些代码示例,展示了Tuple.tuple()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Tuple.tuple()方法的具体详情如下:
包路径:org.jooq.lambda.tuple.Tuple
类名称:Tuple
方法名:tuple

Tuple.tuple介绍

[英]Construct a tuple of degree 0.
[中]构造一个0度的元组。

代码示例

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 3 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U3> Tuple5<T1, T2, U3, T4, T5> map3(Function<? super T3, ? extends U3> function) {
  return Tuple.tuple(v1, v2, function.apply(v3), v4, v5);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 4 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U4> Tuple12<T1, T2, T3, U4, T5, T6, T7, T8, T9, T10, T11, T12> map4(Function<? super T4, ? extends U4> function) {
  return Tuple.tuple(v1, v2, v3, function.apply(v4), v5, v6, v7, v8, v9, v10, v11, v12);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 9 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U9> Tuple10<T1, T2, T3, T4, T5, T6, T7, T8, U9, T10> map9(Function<? super T9, ? extends U9> function) {
  return Tuple.tuple(v1, v2, v3, v4, v5, v6, v7, v8, function.apply(v9), v10);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 11 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U11> Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, U11, T12, T13, T14, T15, T16> map11(Function<? super T11, ? extends U11> function) {
  return Tuple.tuple(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, function.apply(v11), v12, v13, v14, v15, v16);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 16 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U16> Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, U16> map16(Function<? super T16, ? extends U16> function) {
  return Tuple.tuple(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, function.apply(v16));
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 4 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U4> Tuple6<T1, T2, T3, U4, T5, T6> map4(Function<? super T4, ? extends U4> function) {
  return Tuple.tuple(v1, v2, v3, function.apply(v4), v5, v6);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 11 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U11> Tuple11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, U11> map11(Function<? super T11, ? extends U11> function) {
  return Tuple.tuple(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, function.apply(v11));
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 4 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U4> Tuple9<T1, T2, T3, U4, T5, T6, T7, T8, T9> map4(Function<? super T4, ? extends U4> function) {
  return Tuple.tuple(v1, v2, v3, function.apply(v4), v5, v6, v7, v8, v9);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 9 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U9> Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, U9> map9(Function<? super T9, ? extends U9> function) {
  return Tuple.tuple(v1, v2, v3, v4, v5, v6, v7, v8, function.apply(v9));
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 3 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U3> Tuple15<T1, T2, U3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> map3(Function<? super T3, ? extends U3> function) {
  return Tuple.tuple(v1, v2, function.apply(v3), v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 2 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U2> Tuple7<T1, U2, T3, T4, T5, T6, T7> map2(Function<? super T2, ? extends U2> function) {
  return Tuple.tuple(v1, function.apply(v2), v3, v4, v5, v6, v7);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 3 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U3> Tuple7<T1, T2, U3, T4, T5, T6, T7> map3(Function<? super T3, ? extends U3> function) {
  return Tuple.tuple(v1, v2, function.apply(v3), v4, v5, v6, v7);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 2 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U2> Tuple3<T1, U2, T3> map2(Function<? super T2, ? extends U2> function) {
  return Tuple.tuple(v1, function.apply(v2), v3);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 1 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U1> Tuple5<U1, T2, T3, T4, T5> map1(Function<? super T1, ? extends U1> function) {
  return Tuple.tuple(function.apply(v1), v2, v3, v4, v5);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 2 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U2> Tuple12<T1, U2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> map2(Function<? super T2, ? extends U2> function) {
  return Tuple.tuple(v1, function.apply(v2), v3, v4, v5, v6, v7, v8, v9, v10, v11, v12);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 12 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U12> Tuple12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, U12> map12(Function<? super T12, ? extends U12> function) {
  return Tuple.tuple(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, function.apply(v12));
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 5 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U5> Tuple16<T1, T2, T3, T4, U5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> map5(Function<? super T5, ? extends U5> function) {
  return Tuple.tuple(v1, v2, v3, v4, function.apply(v5), v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 8 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U8> Tuple16<T1, T2, T3, T4, T5, T6, T7, U8, T9, T10, T11, T12, T13, T14, T15, T16> map8(Function<? super T8, ? extends U8> function) {
  return Tuple.tuple(v1, v2, v3, v4, v5, v6, v7, function.apply(v8), v9, v10, v11, v12, v13, v14, v15, v16);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 13 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U13> Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, U13, T14, T15, T16> map13(Function<? super T13, ? extends U13> function) {
  return Tuple.tuple(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, function.apply(v13), v14, v15, v16);
}

代码示例来源:origin: org.jooq/jool

/**
 * Apply attribute 1 as argument to a function and return a new tuple with the substituted argument.
 */
public final <U1> Tuple1<U1> map1(Function<? super T1, ? extends U1> function) {
  return Tuple.tuple(function.apply(v1));
}

相关文章

微信公众号

最新文章

更多