Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
CollectionUtils..::.Clear Method
CollectionUtils Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Clears specified collection.

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

# Syntax

C#
    public static void Clear(
    	ICollection col
    )

#### Parameters

col
  Type: System.Collections..::.ICollection
  Collection to clear.

# Remarks

This method allows us to clear any collection type from the System.Collections namespace in a uniform manner, thus hiding differences in the API between IList implementations and classes such as Queue and Stack.

# See Also

CollectionUtils Class
Tangosol.Util Namespace