@ NullSafe @ SuppressWarnings ( "all" ) public static boolean notInstanceOf ( Object obj , Class ... types ) { boolean result = true ; for ( int index = 0 ; result && index < ArrayUtils . nullSafeLength ( types ) ; index ++ ) { result &= ! instanceOf ( obj , types [ index ] ) ; } return result ; }
Determines whether the Object is an instance of any of the Class types and returns false if it is .