![JAR search and dependency download from the Maven repository](/logo.png)
org.snapscript.bridge.MethodComparator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snap-all Show documentation
Show all versions of snap-all Show documentation
Dynamic scripting for the JVM
package org.snapscript.bridge;
import java.lang.reflect.Method;
import org.snapscript.core.function.Function;
import org.snapscript.core.function.Signature;
public class MethodComparator {
public MethodComparator() {
super();
}
public boolean isEqual(Method method, Function function) {
if(function != null) {
Signature signature = function.getSignature();
Object source = signature.getSource();
if(source != null) {
return method.equals(source);
}
}
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy