Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.java.ao.schema;
 
 
 public enum Case
 {
     UPPER
             {
                 @Override
                public String apply(String s)
                {
                    return nullSafe(s).toUpperCase(.);
                }
            },
    LOWER
            {
                @Override
                public String apply(String s)
                {
                    return nullSafe(s).toLowerCase(.);
                }
            };
    public abstract String apply(String tableName);
    private static String nullSafe(String s)
    {
        return s != null ? s : "";
    }
New to GrepCode? Check out our FAQ X