MCPcopy Create free account
hub / github.com/SeanDragon/protools / notNull

Method notNull

common/src/main/java/pro/tools/data/text/ToolStr.java:106–116  ·  view source on GitHub ↗

判断多个Object对象不为null,则返回true @param paras @return

(Object... paras)

Source from the content-addressed store, hash-verified

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 * 判断两字符串是否相等

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected