<gh_stars>10-100
/*
 * $Id$
 * $URL$
 */

package org.subethamail.web.util;

import java.util.Set;

import lombok.extern.java.Log;


/**
 * Some simple static methods useful as JSP functions
 *
 * @author <NAME>
 */
@Log
public class CollectionTool
{
	/**
	 * Does the set contain the object?
	 */
	public static boolean contains(Set<?> set, Object obj)
	{
		if (set == null)
			return false;
		else
			return set.contains(obj);
	}
}
