Show / Hide Table of Contents

Class NullFilter

Filter which discards null references.

Inheritance
object
NullFilter
Implements
IFilter
IPortableObject
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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 null.

Returns
Type Description
bool

true if the passed object reference is of the same class and has the same state as this object.

Overrides
object.Equals(object)

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
object.GetHashCode()

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
object.ToString()

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.

Implements

IFilter
IPortableObject
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.