public static <T> Filter<T> in( Collection<? extends T> collection )
    {
        return new InFilter<T>(collection);
    }
Creates a filter that returns true for any value in the specified
 collection and false for all other cases.
jme3-networking/src/main/java/com/jme3/network/Filters.java