com.google.common.base.Converter.doAndThen()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(136)

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

Converter.doAndThen介绍

[英]Package-private non-final implementation of andThen() so only we can override it.
[中]将andThen()的私有非最终实现打包,以便只有我们可以重写它。

代码示例

代码示例来源:origin: google/guava

/**
 * Returns a converter whose {@code convert} method applies {@code secondConverter} to the result
 * of this converter. Its {@code reverse} method applies the converters in reverse order.
 *
 * <p>The returned converter is serializable if {@code this} converter and {@code secondConverter}
 * are.
 */
public final <C> Converter<A, C> andThen(Converter<B, C> secondConverter) {
 return doAndThen(secondConverter);
}

代码示例来源:origin: google/j2objc

/**
 * Returns a converter whose {@code convert} method applies {@code secondConverter} to the result
 * of this converter. Its {@code reverse} method applies the converters in reverse order.
 *
 * <p>The returned converter is serializable if {@code this} converter and {@code secondConverter}
 * are.
 */
public final <C> Converter<A, C> andThen(Converter<B, C> secondConverter) {
 return doAndThen(secondConverter);
}

代码示例来源:origin: wildfly/wildfly

/**
 * Returns a converter whose {@code convert} method applies {@code secondConverter} to the result
 * of this converter. Its {@code reverse} method applies the converters in reverse order.
 *
 * <p>The returned converter is serializable if {@code this} converter and {@code secondConverter}
 * are.
 */
public final <C> Converter<A, C> andThen(Converter<B, C> secondConverter) {
 return doAndThen(secondConverter);
}

代码示例来源:origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

/**
 * Returns a converter whose {@code convert} method applies {@code secondConverter} to the result
 * of this converter. Its {@code reverse} method applies the converters in reverse order.
 *
 * <p>The returned converter is serializable if {@code this} converter and {@code secondConverter}
 * are.
 */
public final <C> Converter<A, C> andThen(Converter<B, C> secondConverter) {
 return doAndThen(secondConverter);
}

代码示例来源:origin: com.diffplug.guava/guava-core

/**
 * Returns a converter whose {@code convert} method applies {@code secondConverter} to the result
 * of this converter. Its {@code reverse} method applies the converters in reverse order.
 *
 * <p>The returned converter is serializable if {@code this} converter and {@code secondConverter}
 * are.
 */
public final <C> Converter<A, C> andThen(Converter<B, C> secondConverter) {
  return doAndThen(secondConverter);
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

/**
 * Returns a converter whose {@code convert} method applies {@code secondConverter} to the result
 * of this converter. Its {@code reverse} method applies the converters in reverse order.
 *
 * <p>The returned converter is serializable if {@code this} converter and {@code secondConverter}
 * are.
 */
public final <C> Converter<A, C> andThen(Converter<B, C> secondConverter) {
 return doAndThen(secondConverter);
}

相关文章