com.jme3.network
クラス Filters

java.lang.Object
  上位を拡張 com.jme3.network.Filters

public class Filters
extends java.lang.Object

Static utility methods pertaining to Filter instances.


コンストラクタの概要
Filters()
           
 
メソッドの概要
<T> Filter<T>
equalTo(T value)
          Creates a filter that returns true for inputs that are .equals() equivalent to the specified value.
<T> Filter<T>
in(java.util.Collection<? extends T> collection)
          Creates a filter that returns true for any value in the specified collection and false for all other cases.
<T> Filter<T>
in(T... values)
          Creates a filter that returns true for any value in the specified list of values and false for all other cases.
<T> Filter<T>
not(Filter<T> f)
          Creates a filter that returns true when the specified delegate filter returns false, and vice versa.
<T> Filter<T>
notEqualTo(T value)
          Creates a filter that returns true for inputs that are NOT .equals() equivalent to the specified value.
<T> Filter<T>
notIn(java.util.Collection<? extends T> collection)
          Creates a filter that returns true for any value NOT in the specified collection and false for all other cases.
<T> Filter<T>
notIn(T... values)
          Creates a filter that returns true for any value NOT in the specified list of values and false for all other cases.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Filters

public Filters()
メソッドの詳細

in

public <T> Filter<T> in(T... values)
Creates a filter that returns true for any value in the specified list of values and false for all other cases.


in

public <T> Filter<T> in(java.util.Collection<? extends T> collection)
Creates a filter that returns true for any value in the specified collection and false for all other cases.


notIn

public <T> Filter<T> notIn(T... values)
Creates a filter that returns true for any value NOT in the specified list of values and false for all other cases. This is the equivalent of calling not(in(values)).


notIn

public <T> Filter<T> notIn(java.util.Collection<? extends T> collection)
Creates a filter that returns true for any value NOT in the specified collection and false for all other cases. This is the equivalent of calling not(in(collection)).


equalTo

public <T> Filter<T> equalTo(T value)
Creates a filter that returns true for inputs that are .equals() equivalent to the specified value.


notEqualTo

public <T> Filter<T> notEqualTo(T value)
Creates a filter that returns true for inputs that are NOT .equals() equivalent to the specified value. This is the equivalent of calling not(equalTo(value)).


not

public <T> Filter<T> not(Filter<T> f)
Creates a filter that returns true when the specified delegate filter returns false, and vice versa.