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

com.oracle.common.base.Hasher Maven / Gradle / Ivy

There is a newer version: 24.09
Show newest version
/*
 * Copyright (c) 2000, 2020, Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */
package com.oracle.common.base;


/**
 * A Hasher provides an external means for producing hash codes and comparing
 * objects for equality.
 *
 * @author mf  2011.01.07
 * @deprecated use {@link com.oracle.coherence.common.base.Hasher} instead
 */
@Deprecated
public interface Hasher
        extends com.oracle.coherence.common.base.Hasher
    {

    /**
     * @see com.oracle.coherence.common.base.Hasher#mod(int, int)
     * @deprecated use {@link com.oracle.coherence.common.base.Hasher#mod(int, int)}
     *             instead
     */
    public static int mod(int n, int m)
        {
        return com.oracle.coherence.common.base.Hasher.mod(n, m);
        }

    /**
     * @see com.oracle.coherence.common.base.Hasher#mod(long, long)
     * @deprecated use {@link com.oracle.coherence.common.base.Hasher#mod(long, long)}
     *             instead
     */
    public static long mod(long n, long m)
        {
        return com.oracle.coherence.common.base.Hasher.mod(n, m);
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy