1
0
forked from GitHub/gf-core

bugfixes in the Java binding

This commit is contained in:
krasimir
2017-06-10 19:31:06 +00:00
parent 9e206496a7
commit ecbe747cbc
2 changed files with 3 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ public class Expr implements Serializable {
/** Compares the current expression with another expression by value. /** Compares the current expression with another expression by value.
* @return True if the expressions are equal. */ * @return True if the expressions are equal. */
public native boolean equals(Expr e); public native boolean equals(Object e);
public native int hashCode(); public native int hashCode();

View File

@@ -30,10 +30,10 @@ public class PGF {
*/ */
public native String getStartCat(); public native String getStartCat();
/** Returns a list of with all functions in the grammar. */ /** Returns a list with all functions in the grammar. */
public native List<String> getFunctions(); public native List<String> getFunctions();
/** Returns a list of with all functions with a given return category. /** Returns a list with all functions with a given return category.
* @param cat The name of the return category. */ * @param cat The name of the return category. */
public native List<String> getFunctionsByCat(String cat); public native List<String> getFunctionsByCat(String cat);