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

fun.langel.cql.util.LongUtil Maven / Gradle / Ivy

The newest version!
package fun.langel.cql.util;

/**
 * @author [email protected](GuHan)
 * @since 2022/3/21 15:49
 **/
public class LongUtil {

    private LongUtil() {
    }

    public static long tryParse(final String v) {
        try {
            return Long.parseLong(v);
        } catch (Exception ex) {
            return 0L;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy