Class ArgFactory<E>
java.lang.Object
edu.washington.cs.knowitall.logic.ArgFactory<E>
- Type Parameters:
E
-
- All Implemented Interfaces:
com.google.common.base.Function<String,
,Expression.Arg<E>> Function<String,
Expression.Arg<E>>
public abstract class ArgFactory<E>
extends Object
implements com.google.common.base.Function<String,Expression.Arg<E>>
An abstract factory class that converts the string representation of
an argument into a token. This token uses the supplied delegate to
evaluate the expression against an entity into a boolean.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod to satisfy abstract superclass.abstract Expression.Arg<E>
Converts the supplied string into a token.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Constructor Details
-
ArgFactory
public ArgFactory()
-
-
Method Details
-
create
Converts the supplied string into a token. -
apply
Method to satisfy abstract superclass.- Specified by:
apply
in interfacecom.google.common.base.Function<String,
Expression.Arg<E>> - Specified by:
apply
in interfaceFunction<String,
Expression.Arg<E>>
-