mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
bugfixes in the Java binding
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user