Treehopper C# API
TreehopperBoardEqualityComparer Class Reference

This comparer is used to compare Treehopper boards More...

Inheritance diagram for TreehopperBoardEqualityComparer:

Public Member Functions

override bool Equals (TreehopperUsb x, TreehopperUsb y)
 Determines if two treehopper boards are the same More...
 
override int GetHashCode (TreehopperUsb obj)
 Returns the Hash of the Treehopper board More...
 

Detailed Description

This comparer is used to compare Treehopper boards

Member Function Documentation

◆ Equals()

override bool Equals ( TreehopperUsb  x,
TreehopperUsb  y 
)

Determines if two treehopper boards are the same

Parameters
xThe first board to compare
yThe second board to compare
Returns
Whether the boards are equal

◆ GetHashCode()

override int GetHashCode ( TreehopperUsb  obj)

Returns the Hash of the Treehopper board

Parameters
objThe Treehopper board to calculate the hash for
Returns
The calculated hash value

The documentation for this class was generated from the following file: