判断多个Object对象不为null,则返回true @param paras @return
(Object... paras)
| 104 | * @return |
| 105 | */ |
| 106 | public static boolean notNull(Object... paras) { |
| 107 | if (paras == null) { |
| 108 | return false; |
| 109 | } |
| 110 | for (Object obj : paras) { |
| 111 | if (obj == null) { |
| 112 | return false; |
| 113 | } |
| 114 | } |
| 115 | return true; |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * 判断两字符串是否相等 |
nothing calls this directly
no outgoing calls
no test coverage detected