code: public final IResultFunction create (final String result) {
  
          if (result.compareTo(RESULT_AND) == 0) {
              return new AndResultFunction();
          } else if (result.compareTo(RESULT_OR) == 0) {
              return new OrResultFunction();
          } else if (result.compareTo(RESULT_MIN) == 0) {
              return new MinResultFunction();
          } else if (result.compareTo(RESULT_MAX) == 0) {
              return new MaxResultFunction();
          } else if (result.compareTo(RESULT_CHOOSE) == 0) {
              return new ChooseResultFunction();
          } else if (result.compareTo(RESULT_NONE) == 0) {
              return new NoneResultFunction();
          } else {
              throw new UnsupportedOperationException();
          }
      }
docs: Creates an <code>IResultFunction</code> instance depending on the given parameter.
  
  @param result The type of the <code>IResultFunction</code>.
  @return The <code>IResultFunction</code> instance.