Interface From<S,T>

Type Parameters:
S - 源类型
T - 目标类型

public interface From<S,T>
类型转换
Author:
xezzon
  • Method Summary

    Modifier and Type
    Method
    Description
    from(S source)
    将源类型转换为目标类型。
  • Method Details

    • from

      T from(S source)
      将源类型转换为目标类型。
      Parameters:
      source - 要转换的源对象。
      Returns:
      转换后的目标对象。