diff --git a/engine/src/networking/com/jme3/network/Filters.java b/engine/src/networking/com/jme3/network/Filters.java index ef2765642..d50929174 100644 --- a/engine/src/networking/com/jme3/network/Filters.java +++ b/engine/src/networking/com/jme3/network/Filters.java @@ -46,7 +46,7 @@ public class Filters * Creates a filter that returns true for any value in the specified * list of values and false for all other cases. */ - public Filter in( T... values ) + public static Filter in( T... values ) { return in( new HashSet(Arrays.asList(values)) ); } @@ -55,7 +55,7 @@ public class Filters * Creates a filter that returns true for any value in the specified * collection and false for all other cases. */ - public Filter in( Collection collection ) + public static Filter in( Collection collection ) { return new InFilter(collection); } @@ -65,7 +65,7 @@ public class Filters * list of values and false for all other cases. This is the equivalent * of calling not(in(values)). */ - public Filter notIn( T... values ) + public static Filter notIn( T... values ) { return not( in( values ) ); } @@ -75,7 +75,7 @@ public class Filters * collection and false for all other cases. This is the equivalent * of calling not(in(collection)). */ - public Filter notIn( Collection collection ) + public static Filter notIn( Collection collection ) { return not( in( collection ) ); } @@ -84,7 +84,7 @@ public class Filters * Creates a filter that returns true for inputs that are .equals() * equivalent to the specified value. */ - public Filter equalTo( T value ) + public static Filter equalTo( T value ) { return new EqualToFilter(value); } @@ -94,7 +94,7 @@ public class Filters * equivalent to the specified value. This is the equivalent of calling * not(equalTo(value)). */ - public Filter notEqualTo( T value ) + public static Filter notEqualTo( T value ) { return not(equalTo(value)); } @@ -103,7 +103,7 @@ public class Filters * Creates a filter that returns true when the specified delegate filter * returns false, and vice versa. */ - public Filter not( Filter f ) + public static Filter not( Filter f ) { return new NotFilter(f); }