aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/logic/src/main/java/tools/refinery/logic/equality/LiteralHashCodeHelper.java
blob: fccadd085e29c54d6a418478da6b57b3b9c0d0e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * SPDX-FileCopyrightText: 2023 The Refinery Authors <https://refinery.tools/>
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package tools.refinery.logic.equality;

import tools.refinery.logic.term.Variable;

import java.util.Objects;

@FunctionalInterface
public interface LiteralHashCodeHelper {
	LiteralHashCodeHelper DEFAULT = Objects::hashCode;

	int getVariableHashCode(Variable variable);
}