1. 首页
  2. 数据库
  3. 其它
  4. auto string formatter:用于Java的字符串格式化库在编译时通过注释处理生成优化的formatter方法 源码

auto string formatter:用于Java的字符串格式化库在编译时通过注释处理生成优化的formatter方法 源码

上传者: 2021-02-21 05:51:33上传 ZIP文件 26.06MB 热度 4次
自动字符串格式化器 auto-string-formatter是Java的字符串格式化库,可在编译时通过注释处理生成优化的formatter方法。 auto-string-formatter具有以下功能: 使用StringBuilder就像手写代码一样快。 (大多数)兼容String.format 。 入门 auto-string-formatter需要JDK 8(1.8.0_65或更高版本)才能运行注释处理器。 概要 只需使用@AutoStringFormatter和@Format定义一种格式,然后使用它。 package com.github.imasahiro.stringfor
下载地址
用户评论