bugfixes in the Java binding

This commit is contained in:
krasimir
2017-06-10 19:31:06 +00:00
parent afd93c62fa
commit 24866be6fb
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.
* @return True if the expressions are equal. */
public native boolean equals(Expr e);
public native boolean equals(Object e);
public native int hashCode();

View File

@@ -30,10 +30,10 @@ public class PGF {
*/
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();
/** 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. */
public native List<String> getFunctionsByCat(String cat);