org.eclipse.jpt.utility
Class Filter.Disabled<S>

java.lang.Object
  extended by org.eclipse.jpt.utility.Filter.Disabled<S>
All Implemented Interfaces:
Filter<S>
Enclosing interface:
Filter<T>

public static final class Filter.Disabled<S>
extends java.lang.Object
implements Filter<S>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.utility.Filter
Filter.Disabled<S>, Filter.Null<S>
 
Field Summary
static Filter INSTANCE
           
 
Method Summary
 boolean accept(S next)
          Return whether the specified object is "accepted" by the filter.
static
<R> Filter<R>
instance()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final Filter INSTANCE
Method Detail

instance

public static <R> Filter<R> instance()

accept

public boolean accept(S next)
Description copied from interface: Filter
Return whether the specified object is "accepted" by the filter. The semantics of "accept" is determined by the contract between the client and the server.

Specified by:
accept in interface Filter<S>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object