This is the old Animancer v7.4 documentation. Click here for the latest version.

ReverseComparer<T> Class

Summary

An System.Collections.Generic.IComparer`1 which reverses the default comparison.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Interfaces
  • IComparer<T>
Base Types
  • Object
ReverseComparer
Object
IComparer

Syntax

public class ReverseComparer<T> : IComparer<T>

Type Parameters

Name Description
T

Fields

Name Constant Value Summary
Instance
The singleton instance.
static

Methods

Name Value Summary
Compare(T, T) int
Uses System.Collections.Generic.Comparer`1.Default with the parameters swapped.