public static boolean isNotNullAll(Object... objects){ for (Object element: objects) { if (Objects.isNull(element)) return false; if (element instanceof String){ String temp = (String) element; if (temp.trim().isEmpty()) return false; } } return true; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter