Show / Hide Table of Contents

Class NullImplementation

A collection of classes that do nothing.

Inheritance
object
NullImplementation
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public class NullImplementation
Remarks

For each class implemented, a factory method will exist following the naming convention "Get" plus the class or interface name.

Methods

GetCache()

Returns an instance of the NullImplementation.NullCache.

Declaration
public static ICache GetCache()
Returns
Type Description
ICache

An empty ICache that does nothing.

GetCollection()

Returns an instance of the NullImplementation.NullCollection.

Declaration
public static ICollection GetCollection()
Returns
Type Description
ICollection

An empty immutable collection.

GetConverter()

Obtain a null implementation of a IConverter.

Declaration
public static IConverter GetConverter()
Returns
Type Description
IConverter

A conforming implementation of IConverter that does as little as possible.

GetDictionary()

Returns an instance of the NullImplementation.NullDictionary.

Declaration
public static IDictionary GetDictionary()
Returns
Type Description
IDictionary

An empty immutable dictionary.

GetEnumerator()

Returns an instance of the NullImplementation.NullEnumerator.

Declaration
public static IEnumerator GetEnumerator()
Returns
Type Description
IEnumerator

An IEnumerator instance with no values to enumerate.

GetObservableCache()

Returns an instance of the NullImplementation.NullObservableCache.

Declaration
public static IObservableCache GetObservableCache()
Returns
Type Description
IObservableCache

An empty IObservableCache that does nothing.

GetPofContext()

Obtain a null implementation of a IPofContext.

Declaration
public static IPofContext GetPofContext()
Returns
Type Description
IPofContext

A conforming implementation of IPofContext that does as little as possible.

GetValueExtractor()

Returns an instance of the NullImplementation.NullValueExtractor.

Declaration
public static IValueExtractor GetValueExtractor()
Returns
Type Description
IValueExtractor

An IValueExtractor that does not actually extract anything from the passed value.

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