C# Class Nez.Spatial.IntIntDictionary

wraps a Unit32,List Dictionary. It's main purpose is to hash the int,int x,y coordinates into a single Uint32 key which hashes perfectly resulting in an O(1) lookup.
Afficher le fichier Open project: prime31/Nez

Méthodes publiques

Méthode Description
clear ( ) : void

clears the backing dictionary

Private Methods

Méthode Description
add ( int x, int y, List list ) : void
getAllObjects ( ) : HashSet
getKey ( int x, int y ) : long
remove ( Collider obj ) : void
tryGetValue ( int x, int y, List &list ) : bool

Method Details

clear() public méthode

clears the backing dictionary
public clear ( ) : void
Résultat void