Interface ReadOnlyFunctionCollection


  • public interface ReadOnlyFunctionCollection
    • Method Detail

      • getSkillName

        String getSkillName()
      • getFunction

        <T extends SKFunction> T getFunction​(String functionName,
                                             @Nullable
                                             Class<T> clazz)
        Get function with the given SKFunction type argument.
        Type Parameters:
        T - SKFunction parameter type
        Parameters:
        functionName - the name of the function to retrieve
        clazz - The class of the SKFunction parameter type
        Returns:
        The given function
        Throws:
        RuntimeException - if the given entry is not of the expected type
      • getAll

        List<SKFunction<?>> getAll()
        Returns:
        An unmodifiable list of all functions