Class ArgFactory<E>

  • Type Parameters:
    E -
    All Implemented Interfaces:
    com.google.common.base.Function<java.lang.String,​Expression.Arg<E>>, java.util.function.Function<java.lang.String,​Expression.Arg<E>>

    public abstract class ArgFactory<E>
    extends java.lang.Object
    implements com.google.common.base.Function<java.lang.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 
      Constructor Description
      ArgFactory()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      Expression.Arg<E> apply​(java.lang.String string)
      Method to satisfy abstract superclass.
      abstract Expression.Arg<E> create​(java.lang.String string)
      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
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • ArgFactory

        public ArgFactory()
    • Method Detail

      • create

        public abstract Expression.Arg<E> create​(java.lang.String string)
        Converts the supplied string into a token.
      • apply

        public Expression.Arg<E> apply​(java.lang.String string)
        Method to satisfy abstract superclass.
        Specified by:
        apply in interface com.google.common.base.Function<java.lang.String,​Expression.Arg<E>>
        Specified by:
        apply in interface java.util.function.Function<java.lang.String,​Expression.Arg<E>>