logo
  • 教程列表
  • SO官方文檔
  • 字串插值
    • 基本
    • 虛線表達
    • 渴望表達
    • 懶惰的表情
    • 表達
  1. StackOverflow 文件
  2. groovy 教程
  3. 字串插值
  4. 虛線表達

虛線表達

Created: November-22, 2018

def arg = [phrase: 'interpolated']
assert "This is $arg.phrase" == 'This is interpolated'
  • 渴望表達
  • 基本

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明