// 
// Decompiled by Procyon v0.6.0
// 

package io.sentry.util;

import java.util.Arrays;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.annotations.ApiStatus;

@ApiStatus.Internal
public final class Objects
{
    private Objects() {
    }
    
    public static <T> T requireNonNull(@Nullable final T obj, @NotNull final String message) {
        if (obj == null) {
            throw new IllegalArgumentException(message);
        }
        return obj;
    }
    
    public static boolean equals(@Nullable final Object a, @Nullable final Object b) {
        return a == b || (a != null && a.equals(b));
    }
    
    public static int hash(@Nullable final Object... values) {
        return Arrays.hashCode(values);
    }
}
