Java tutorial
//package com.java2s; public class Main { public static final String UDF_MIN_FUNC_mOPE = "mOPE_MIN"; public static final String UDF_MAX_FUNC_mOPE = "mOPE_MAX"; public static boolean ismOPEudfMinMax(String func) { return func.equals(UDF_MAX_FUNC_mOPE) || func.equals(UDF_MIN_FUNC_mOPE); } }