Class SplitOn

    • Constructor Summary

      Constructors 
      Constructor Description
      SplitOn()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.function.Function<java.lang.String,​java.util.List<java.lang.String>> apply​(java.lang.String delim)  
      static java.util.List<java.lang.String> apply​(java.lang.String delim, java.lang.String string)
      Apply the function to both arguments.
      protected java.util.function.Function<java.util.List<Term>,​Flow<Graph,​Term>> implementation()
      A dynamic/interpreted implementation of the function
      Name name()
      The unique name of the primitive function
      TypeScheme type()
      The datatype of the primitive function
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SplitOn

        public SplitOn()
    • Method Detail

      • apply

        public static java.util.function.Function<java.lang.String,​java.util.List<java.lang.String>> apply​(java.lang.String delim)
      • apply

        public static java.util.List<java.lang.String> apply​(java.lang.String delim,
                                                             java.lang.String string)
        Apply the function to both arguments. Note: the delimiter is not interpreted as a regular expression; it is simply a literal string. See Haskell's Data.List.Split.