public static < T > boolean isLong ( Class < T > field ) { //to compatibility to scala return Long . class . getSimpleName ( ) . equalsIgnoreCase ( field . getSimpleName ( ) ) ; }
Test if a field is Long .