forked from GitHub/gf-core
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.
|
/** 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();
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user