All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.simpleflatmapper.util.Asserts Maven / Gradle / Ivy

Go to download

Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.

The newest version!
package org.simpleflatmapper.util;


public class Asserts {
    public static  T requireNonNull(String name, T obj) {
        if (obj == null) {
            throw new NullPointerException(name + " is null");
        }
        return obj;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy