@SuppressWarnings("unchecked")
    public static <T> Filter<T> in( T... values )
    {
        return in( new HashSet<T>(Arrays.asList(values)) );
    }
Creates a filter that returns true for any value in the specified
 list of values and false for all other cases.
jme3-networking/src/main/java/com/jme3/network/Filters.java