package com.inmind.functional_interface02; /* 请使用Function进行函数模型的拼接,按照顺序需要执行的多个函数操作为: 1. 将字符串截取数字年龄部分,得到字符串; 2. 将上一步的字符串转换成为int类型的数字;(String->integer) 3. 将上一步的int数字累加100,得到结果int数字。(integer->integer) */ public class Demo15 { public static void main(String[] args) { String str = "赵丽颖,20"; } }