1. 变量定义:int arrowLeft = 0, arrowRight = 0;
java
2. 三元表达式:char topElement = stack.empty() ? '#' : stack.pop();
数组
3. 获取两个值中较大的一个:maxVal = Math.max(maxVal, arrowLeft+ arrowRight);工具
4. 初始化数组:new int[]{i,j}spa
5. Spring工具类:CollectionUtils.isEmpty(list) // LIST,SETcode