Java tutorial
//package com.java2s; public class Main { public static final String[] SUPPORTED_FUNCS = new String[] { "SUM", "MIN", "MAX", "COUNT" }; public static boolean isMIN(String func) { return func.toUpperCase().equals(SUPPORTED_FUNCS[2]); } }