Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
ContinuousQueryCache..::.GetValues Method (IFilter, IComparer)
ContinuousQueryCache Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Return a collection of the values contained in this cache for entries that satisfy the criteria expressed by the filter.

Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    public virtual Object[] GetValues(
    	IFilter filter,
    	IComparer comparer
    )

#### Parameters

filter
  Type: Tangosol.Util..::.IFilter
  The IFilter object representing the criteria that the entries of this cache should satisfy.

comparer
  Type: System.Collections..::.IComparer
  The IComparable object which imposes an ordering on entries in the resulting collection; or null if the entries' values natural ordering should be used.

#### Return Value

A collection of entries that satisfy the specified criteria.

#### Implements

IQueryCache..::.GetValues(IFilter, IComparer)

# Remarks

It is guaranteed that enumerator will traverse the array in such a way that the values come up in ascending order, sorted by the specified comparer or according to the natural ordering.

# See Also

ContinuousQueryCache Class
GetValues Overload
Tangosol.Net.Cache Namespace