com.netflix.infix
Class NullValuePredicate

java.lang.Object
  extended by com.netflix.infix.NullValuePredicate
All Implemented Interfaces:
com.google.common.base.Predicate<java.lang.Object>, ValuePredicate<java.lang.Object>

public final class NullValuePredicate
extends java.lang.Object
implements ValuePredicate<java.lang.Object>

This predicate returns true if its input is null. That is, it identifies null object.


Field Summary
static NullValuePredicate INSTANCE
           
 
Method Summary
 boolean apply(java.lang.Object input)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final NullValuePredicate INSTANCE
Method Detail

apply

public boolean apply(java.lang.Object input)
Specified by:
apply in interface com.google.common.base.Predicate<java.lang.Object>

toString

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

hashCode

public final int hashCode()
Specified by:
hashCode in interface ValuePredicate<java.lang.Object>
Overrides:
hashCode in class java.lang.Object

equals

public final boolean equals(java.lang.Object obj)
Specified by:
equals in interface com.google.common.base.Predicate<java.lang.Object>
Specified by:
equals in interface ValuePredicate<java.lang.Object>
Overrides:
equals in class java.lang.Object