src/main/java/com/verapi/abyss/common/Util.java
public static <T> T nnvl(T a, T b) {
        //TODO: replaced with functional interface to disable executing b parameter before initalization
        if (a != null)
            return b;
        else
            return null;
    }
/**
     * Not Null Value<br>
     * Returns its calculated value if it is not null
     *
     * @param a   value to be checked if null
     * @param b   value to be returned if a is <b>not</b> null
     * @param <T> any
     * @return returns b if a is <b>not</b> null <br> returns a if a is null
     */
Not Null Value
Returns its calculated value if it is not null

@param a   value to be checked if null
@param b   value to be returned if a is not null
@param  any
@return returns b if a is not null  returns a if a is null
Not Null Value Returns its calculated value if it is not null @param a value to be checked if null @param b value to be returned if a is not null @param any @return returns b if a is not null returns a if a is null
public static <T> T nnvl(T a, T b) {
        if (a != null)
            return b;
        else
            return null;
    }
public static < T > T nnvl ( T a , T b ) { if ( a != null ) return b ; else return null ; }
Not Null Value<br>
 Returns its calculated value if it is not null
Not Null Value<br > Returns its calculated value if it is not null
//TODO: replaced with functional interface to disable executing b parameter before initalization