Class NullFilter
Filter which discards null references.
Inherited Members
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public class NullFilter : IFilter, IPortableObject
Methods
Equals(object)
Compares this object with another object for equality.
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
object | o | An object reference or |
Returns
Type | Description |
---|---|
bool | true if the passed object reference is of the same class and has the same state as this object. |
Overrides
Evaluate(object)
Apply the test to the object.
Declaration
public bool Evaluate(object o)
Parameters
Type | Name | Description |
---|---|---|
object | o | An object to which the test is applied. |
Returns
Type | Description |
---|---|
bool | true if the test passes, false otherwise. |
GetHashCode()
Returns a hash code value for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code value for this object. |
Overrides
ReadExternal(IPofReader)
Restore the contents of a user type instance by reading its state using the specified IPofReader object.
Declaration
public void ReadExternal(IPofReader reader)
Parameters
Type | Name | Description |
---|---|---|
IPofReader | reader | The IPofReader from which to read the object's state. |
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |
ToString()
Provide a human-readable representation of this object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string whose contents represent the value of this object. |
Overrides
WriteExternal(IPofWriter)
Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.
Declaration
public void WriteExternal(IPofWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IPofWriter | writer | The IPofWriter to which to write the object's state. |
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |