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

com.github.davidmoten.guavamini.Objects Maven / Gradle / Ivy

package com.github.davidmoten.guavamini;

import java.util.Arrays;

public final class Objects {

    private Objects() {
        // prevent instantiation
    }

    public static int hashCode(Object... objects) {
        return Arrays.hashCode(objects);
    }

    public static boolean equal(Object a, Object b) {
        return a == b || (a != null && a.equals(b));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy