Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
ConverterCollections..::.ConverterQueryCache..::.GetEntries Method (IFilter, IComparer)
ConverterCollections..::.ConverterQueryCache Class See Also

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

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)

# Syntax

C#
    public virtual ICacheEntry[] GetEntries(
    	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..::.GetEntries(IFilter, IComparer)

# Remarks

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

# See Also

ConverterCollections..::.ConverterQueryCache Class
GetEntries Overload
Tangosol.Util Namespace