Click or drag to resize

HashFunction Class

Base class for representations of hash functions.
Inheritance Hierarchy

Namespace:  Gamelogic.Extensions.Internal.HashFunctions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public abstract class HashFunction

The HashFunction type exposes the following members.

Constructors
  NameDescription
Protected methodHashFunction
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHash(Int32)
Optional method that can be implemented to optimize this special case.
Public methodGetHash(Int32)
Main hash function for any number of parameters.
Public methodGetHash(Int32, Int32)
Optional method that can be implemented to optimize this special case.
Public methodGetHash(Int32, Int32, Int32)
Optional method that can be implemented to optimize this special case.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRange(Int32, Int32, Int32)
Optional method that can be implemented to optimize this special case.
Public methodRange(Int32, Int32, Int32)
Gets a hash value in the given range (including the minimum value but exlcuding the maximum).
Public methodRange(Single, Single, Int32)
Optional method that can be implemented to optimize this special case.
Public methodRange(Single, Single, Int32)
Gets a float presentation of the hash value in the given range.
Public methodRange(Int32, Int32, Int32, Int32)
Optional method that can be implemented to optimize this special case.
Public methodRange(Single, Single, Int32, Int32)
Optional method that can be implemented to optimize this special case.
Public methodRange(Int32, Int32, Int32, Int32, Int32)
Optional method that can be implemented to optimize this special case.
Public methodRange(Single, Single, Int32, Int32, Int32)
Optional method that can be implemented to optimize this special case.
Public methodToString (Inherited from Object.)
Public methodValue(Int32)
Optional method that can be implemented to optimize this special case.
Public methodValue(Int32)
Gets a floating point value representation (between 0 and 1) of the hash for the given data.
Public methodValue(Int32, Int32)
Optional method that can be implemented to optimize this special case.
Public methodValue(Int32, Int32, Int32)
Optional method that can be implemented to optimize this special case.
Top
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
See Also