Interface GssFunctionMapProvider

  • All Known Implementing Classes:
    DefaultGssFunctionMapProvider

    public interface GssFunctionMapProvider
    Provides maps of custom GSS functions for use with command-line compilers.

    Any implementation should provide a parameterless constructor, as the provider is instantiated via Class.newInstance().

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <F> java.util.Map<java.lang.String,​F> get​(java.lang.Class<F> gssFunctionClass)
      Gets the map of custom GSS functions for the given class.
    • Method Detail

      • get

        <F> java.util.Map<java.lang.String,​F> get​(java.lang.Class<F> gssFunctionClass)
        Gets the map of custom GSS functions for the given class.
        Type Parameters:
        F - the interface implemented by the GSS functions
        Parameters:
        gssFunctionClass - the class of F
        Returns:
        a map from each custom function name to its implementation