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

x33g5p2x  于2022-02-01 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(100)

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

Unchecked.objDoubleConsumer介绍

[英]Wrap a CheckedObjDoubleConsumer in a ObjDoubleConsumer.
[中]将CheckedObjDoubleConsumer包装在ObjDoubleConsumer中。

代码示例

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

/**
 * Wrap a {@link CheckedObjDoubleConsumer} in a {@link ObjDoubleConsumer}.
 */
public static <T> ObjDoubleConsumer<T> objDoubleConsumer(CheckedObjDoubleConsumer<T> consumer) {
  return Unchecked.objDoubleConsumer(consumer, Unchecked.RETHROW_ALL);
}

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

/**
 * Wrap a {@link CheckedObjDoubleConsumer} in a {@link ObjDoubleConsumer}.
 */
public static <T> ObjDoubleConsumer<T> objDoubleConsumer(CheckedObjDoubleConsumer<T> consumer) {
  return objDoubleConsumer(consumer, THROWABLE_TO_RUNTIME_EXCEPTION);
}

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

/**
 * @see {@link Unchecked#objDoubleConsumer(CheckedObjDoubleConsumer)}
 */
static <T> ObjDoubleConsumer<T> unchecked(CheckedObjDoubleConsumer<T> consumer) {
  return Unchecked.objDoubleConsumer(consumer);
}

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

/**
   * @see {@link Unchecked#objDoubleConsumer(CheckedObjDoubleConsumer, Consumer)}
   */
  static <T> ObjDoubleConsumer<T> unchecked(CheckedObjDoubleConsumer<T> consumer, Consumer<Throwable> handler) {
    return Unchecked.objDoubleConsumer(consumer, handler);
  }
}

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

/**
 * Wrap a {@link CheckedObjDoubleConsumer} in a {@link ObjDoubleConsumer}.
 */
public static <T> ObjDoubleConsumer<T> objDoubleConsumer(CheckedObjDoubleConsumer<T> consumer) {
  return objDoubleConsumer(consumer, THROWABLE_TO_RUNTIME_EXCEPTION);
}

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

/**
   * @see {@link Unchecked#objDoubleConsumer(CheckedObjDoubleConsumer, Consumer)}
   */
  static <T> ObjDoubleConsumer<T> unchecked(CheckedObjDoubleConsumer<T> consumer, Consumer<Throwable> handler) {
    return Unchecked.objDoubleConsumer(consumer, handler);
  }
}

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

/**
 * Wrap a {@link CheckedObjDoubleConsumer} in a {@link ObjDoubleConsumer}.
 */
public static <T> ObjDoubleConsumer<T> objDoubleConsumer(CheckedObjDoubleConsumer<T> consumer) {
  return Unchecked.objDoubleConsumer(consumer, Unchecked.RETHROW_ALL);
}

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

/**
 * @see {@link Unchecked#objDoubleConsumer(CheckedObjDoubleConsumer)}
 */
static <T> ObjDoubleConsumer<T> unchecked(CheckedObjDoubleConsumer<T> consumer) {
  return Unchecked.objDoubleConsumer(consumer);
}

相关文章