Class Trimmable
Provides a set of methods to work with trimmable objects.
Inheritance
System.Object
Trimmable
Namespace: System.Memory
Assembly: Nuqleon.Memory.dll
Syntax
public static class Trimmable : Object
Methods
Create<T>(Func<Func<T, Boolean>, Int32>)
Creates a new trimmable object using the specified trim
function.
Declaration
public static ITrimmable<T> Create<T>(Func<Func<T, bool>, int> trim)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Func<T, System.Boolean>, System.Int32> | trim | The trim function to use for the trimmable implementation. |
Returns
Type | Description |
---|---|
ITrimmable<T> | An object implementing the trimmable interface using the specified |
Type Parameters
Name | Description |
---|---|
T | The type of the elements held by the trimmable data structure. |