We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#for (Domain domain : domains) ${for.index} #end
除了index之外,请添加${for.isFirst} 与 ${for.isLast}
另外,建议#for 指令支持 enum 类型 参考
public enum Gender { MALE, FEMALE; public static void main(String[] args) { Gender[] array = Gender.values(); for (Gender g : array) { System.out.println(g); } } }
The text was updated successfully, but these errors were encountered:
重写了 #for 指令的代码生成规则。 顺便把 ${for.size} 也加上了
#for (String x : ["a","b","c","d"]) ${for.index} ${for.size} ${for.first} ${for.last} ${x} #end
Sorry, something went wrong.
de02dfd
Fixed #55 Improved for status object (index/size/first/last)
80c69dd
subchen
No branches or pull requests
除了index之外,请添加${for.isFirst} 与 ${for.isLast}
另外,建议#for 指令支持 enum 类型 参考
The text was updated successfully, but these errors were encountered: